@whetstone-research/doppler-sdk 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +553 -221
- package/dist/DopplerSDK.d.mts +12 -0
- package/dist/DopplerSDK.d.ts +12 -0
- package/dist/DopplerSDK.js +29 -26
- package/dist/DopplerSDK.mjs +28 -25
- package/dist/abis/bytecodes/derc20.js +2 -2
- package/dist/abis/bytecodes/derc20.mjs +1 -1
- package/dist/abis/bytecodes/derc2080.js +2 -2
- package/dist/abis/bytecodes/derc2080.mjs +1 -1
- package/dist/abis/bytecodes/doppler.js +2 -2
- package/dist/abis/bytecodes/doppler.mjs +1 -1
- package/dist/abis/bytecodes/dopplerDN404.js +2 -2
- package/dist/abis/bytecodes/dopplerDN404.mjs +1 -1
- package/dist/abis/bytecodes/stateView.js +2 -2
- package/dist/abis/bytecodes/stateView.mjs +1 -1
- package/dist/abis/bytecodes.js +10 -10
- package/dist/abis/bytecodes.mjs +5 -5
- package/dist/abis/index.d.mts +421 -10
- package/dist/abis/index.d.ts +421 -10
- package/dist/abis/index.js +41 -33
- package/dist/abis/index.mjs +6 -6
- package/dist/addresses.d.mts +6 -0
- package/dist/addresses.d.ts +6 -0
- package/dist/addresses.js +7 -7
- package/dist/addresses.mjs +2 -2
- package/dist/builders/DynamicAuctionBuilder.d.mts +2 -0
- package/dist/builders/DynamicAuctionBuilder.d.ts +2 -0
- package/dist/builders/DynamicAuctionBuilder.js +17 -16
- package/dist/builders/DynamicAuctionBuilder.mjs +16 -15
- package/dist/builders/MulticurveBuilder.d.mts +18 -5
- package/dist/builders/MulticurveBuilder.d.ts +18 -5
- package/dist/builders/MulticurveBuilder.js +17 -16
- package/dist/builders/MulticurveBuilder.mjs +16 -15
- package/dist/builders/StaticAuctionBuilder.js +17 -16
- package/dist/builders/StaticAuctionBuilder.mjs +16 -15
- package/dist/builders/index.js +25 -24
- package/dist/builders/index.mjs +18 -17
- package/dist/builders/shared.d.mts +1 -1
- package/dist/builders/shared.d.ts +1 -1
- package/dist/builders/shared.js +19 -17
- package/dist/builders/shared.mjs +15 -13
- package/dist/{chunk-3XYDN2XB.js → chunk-2A3B3NVB.js} +170 -25
- package/dist/chunk-2A3B3NVB.js.map +1 -0
- package/dist/{chunk-AZOBEWP3.mjs → chunk-3NMGCQJ4.mjs} +2 -2
- package/dist/chunk-3NMGCQJ4.mjs.map +1 -0
- package/dist/{chunk-CUB4F546.js → chunk-44CYUEPG.js} +25 -13
- package/dist/chunk-44CYUEPG.js.map +1 -0
- package/dist/{chunk-AZH2P4JK.mjs → chunk-5GQJRNFL.mjs} +3 -3
- package/dist/{chunk-AZH2P4JK.mjs.map → chunk-5GQJRNFL.mjs.map} +1 -1
- package/dist/{chunk-ZDTJ3BPS.js → chunk-5JHXBDZD.js} +20 -20
- package/dist/{chunk-ZDTJ3BPS.js.map → chunk-5JHXBDZD.js.map} +1 -1
- package/dist/{chunk-OGYWNJGI.js → chunk-5TQOT6CW.js} +2 -2
- package/dist/chunk-5TQOT6CW.js.map +1 -0
- package/dist/{chunk-COOVGAOE.js → chunk-65CESA3J.js} +19 -13
- package/dist/chunk-65CESA3J.js.map +1 -0
- package/dist/{chunk-5VV7STYK.js → chunk-7A4DBBXA.js} +141 -101
- package/dist/chunk-7A4DBBXA.js.map +1 -0
- package/dist/chunk-7ZUV6WPX.mjs +3 -0
- package/dist/{chunk-5TL5V6UX.mjs.map → chunk-7ZUV6WPX.mjs.map} +1 -1
- package/dist/{chunk-RXUJ4DUB.js → chunk-A2CJYRRQ.js} +28 -28
- package/dist/{chunk-RXUJ4DUB.js.map → chunk-A2CJYRRQ.js.map} +1 -1
- package/dist/{chunk-QQEOKYEX.js → chunk-BK3S6SVR.js} +383 -83
- package/dist/chunk-BK3S6SVR.js.map +1 -0
- package/dist/{chunk-S4IZ5ATO.js → chunk-BQZTELUX.js} +5 -5
- package/dist/{chunk-S4IZ5ATO.js.map → chunk-BQZTELUX.js.map} +1 -1
- package/dist/{chunk-WKKOBMXR.js → chunk-CFXXUZJY.js} +57 -22
- package/dist/chunk-CFXXUZJY.js.map +1 -0
- package/dist/chunk-DCWF3EMP.js +171 -0
- package/dist/chunk-DCWF3EMP.js.map +1 -0
- package/dist/{chunk-YWK6YH6M.mjs → chunk-DQJXCZU2.mjs} +5 -5
- package/dist/{chunk-YWK6YH6M.mjs.map → chunk-DQJXCZU2.mjs.map} +1 -1
- package/dist/chunk-DSYPZETD.js +4 -0
- package/dist/{chunk-3PNCB4W5.js.map → chunk-DSYPZETD.js.map} +1 -1
- package/dist/chunk-F2BYG63D.mjs +145 -0
- package/dist/chunk-F2BYG63D.mjs.map +1 -0
- package/dist/{chunk-N33R22A2.js → chunk-FNUBKONK.js} +2 -2
- package/dist/{chunk-N33R22A2.js.map → chunk-FNUBKONK.js.map} +1 -1
- package/dist/chunk-FXTGIKQG.mjs +3 -0
- package/dist/{chunk-SD7BHT2F.mjs.map → chunk-FXTGIKQG.mjs.map} +1 -1
- package/dist/{chunk-MQNSJCAW.mjs → chunk-GSBQIVME.mjs} +2 -2
- package/dist/{chunk-MQNSJCAW.mjs.map → chunk-GSBQIVME.mjs.map} +1 -1
- package/dist/{chunk-SAX7P3MH.js → chunk-HJFVRV47.js} +2 -2
- package/dist/{chunk-SAX7P3MH.js.map → chunk-HJFVRV47.js.map} +1 -1
- package/dist/chunk-IIM2CSDQ.js +147 -0
- package/dist/chunk-IIM2CSDQ.js.map +1 -0
- package/dist/{chunk-O3RH43H3.mjs → chunk-IUTIHSLH.mjs} +4 -4
- package/dist/{chunk-O3RH43H3.mjs.map → chunk-IUTIHSLH.mjs.map} +1 -1
- package/dist/chunk-IUZ3BBQP.mjs +117 -0
- package/dist/chunk-IUZ3BBQP.mjs.map +1 -0
- package/dist/{chunk-D7PCIMWU.mjs → chunk-IX4V4UGW.mjs} +4 -4
- package/dist/{chunk-D7PCIMWU.mjs.map → chunk-IX4V4UGW.mjs.map} +1 -1
- package/dist/{chunk-2ZM4JVFC.js → chunk-J62YDWIK.js} +2 -2
- package/dist/chunk-J62YDWIK.js.map +1 -0
- package/dist/{chunk-E2NF4AQB.mjs → chunk-JLUOFAE4.mjs} +272 -12
- package/dist/chunk-JLUOFAE4.mjs.map +1 -0
- package/dist/{chunk-KITPRKQ4.mjs → chunk-LW3CYA27.mjs} +351 -51
- package/dist/chunk-LW3CYA27.mjs.map +1 -0
- package/dist/{chunk-3L4DLMOK.js → chunk-MEA2C5YX.js} +16 -16
- package/dist/{chunk-3L4DLMOK.js.map → chunk-MEA2C5YX.js.map} +1 -1
- package/dist/{chunk-3MVW6UIW.js → chunk-MU56HCUI.js} +273 -11
- package/dist/chunk-MU56HCUI.js.map +1 -0
- package/dist/chunk-OCIY7QEJ.mjs +169 -0
- package/dist/chunk-OCIY7QEJ.mjs.map +1 -0
- package/dist/{chunk-WDSV4O6T.mjs → chunk-OHA5KJ2M.mjs} +2 -2
- package/dist/chunk-OHA5KJ2M.mjs.map +1 -0
- package/dist/{chunk-MT34O3YL.js → chunk-P563HTVU.js} +50 -26
- package/dist/chunk-P563HTVU.js.map +1 -0
- package/dist/{chunk-RLUMYHPI.js → chunk-PGYTMRP3.js} +46 -18
- package/dist/chunk-PGYTMRP3.js.map +1 -0
- package/dist/{chunk-VGOEXLQ2.js → chunk-QAPQGDWK.js} +2 -2
- package/dist/chunk-QAPQGDWK.js.map +1 -0
- package/dist/{chunk-QOGBOT2M.mjs → chunk-QHBKRUBY.mjs} +3 -3
- package/dist/{chunk-QOGBOT2M.mjs.map → chunk-QHBKRUBY.mjs.map} +1 -1
- package/dist/chunk-QOYI7WCH.js +120 -0
- package/dist/chunk-QOYI7WCH.js.map +1 -0
- package/dist/{chunk-OF7BIKXV.js → chunk-QRTABC4Z.js} +2 -2
- package/dist/chunk-QRTABC4Z.js.map +1 -0
- package/dist/{chunk-CS6FVODR.mjs → chunk-QUBD6HUZ.mjs} +163 -18
- package/dist/chunk-QUBD6HUZ.mjs.map +1 -0
- package/dist/{chunk-RWVNXU7Z.mjs → chunk-RDTIXP6S.mjs} +4 -4
- package/dist/{chunk-RWVNXU7Z.mjs.map → chunk-RDTIXP6S.mjs.map} +1 -1
- package/dist/{chunk-5WYXNWNH.js → chunk-RLOZWHRR.js} +11 -11
- package/dist/{chunk-5WYXNWNH.js.map → chunk-RLOZWHRR.js.map} +1 -1
- package/dist/{chunk-VK5HAWX6.mjs → chunk-SWWLOD7Q.mjs} +2 -2
- package/dist/chunk-SWWLOD7Q.mjs.map +1 -0
- package/dist/chunk-T3UA4MJL.js +4 -0
- package/dist/{chunk-WTS75RUC.js.map → chunk-T3UA4MJL.js.map} +1 -1
- package/dist/{chunk-HJ4AS5DZ.mjs → chunk-TEWAXP5C.mjs} +36 -12
- package/dist/chunk-TEWAXP5C.mjs.map +1 -0
- package/dist/{chunk-ZRNPHFP3.mjs → chunk-THEIRDGE.mjs} +50 -15
- package/dist/chunk-THEIRDGE.mjs.map +1 -0
- package/dist/{chunk-LPA32BIK.mjs → chunk-U3GOWK6J.mjs} +2 -2
- package/dist/chunk-U3GOWK6J.mjs.map +1 -0
- package/dist/{chunk-QFQXHDC7.mjs → chunk-VKSD3KXF.mjs} +46 -18
- package/dist/chunk-VKSD3KXF.mjs.map +1 -0
- package/dist/{chunk-64ZQRKG3.mjs → chunk-VYSOAGRU.mjs} +2 -2
- package/dist/chunk-VYSOAGRU.mjs.map +1 -0
- package/dist/{chunk-ADAAU4F5.mjs → chunk-WDC53TM7.mjs} +49 -9
- package/dist/chunk-WDC53TM7.mjs.map +1 -0
- package/dist/{chunk-M2EMKIP5.mjs → chunk-WKWP42TD.mjs} +9 -4
- package/dist/chunk-WKWP42TD.mjs.map +1 -0
- package/dist/{chunk-OROTK4OT.js → chunk-WNUB3UTT.js} +12 -12
- package/dist/chunk-WNUB3UTT.js.map +1 -0
- package/dist/{chunk-FVTTG72Z.mjs → chunk-WNWK2QMU.mjs} +19 -7
- package/dist/chunk-WNWK2QMU.mjs.map +1 -0
- package/dist/{chunk-INLXNN7P.js → chunk-WZF5XNBC.js} +26 -26
- package/dist/{chunk-INLXNN7P.js.map → chunk-WZF5XNBC.js.map} +1 -1
- package/dist/{chunk-SMTHFPBA.js → chunk-XMFOZYNI.js} +2 -2
- package/dist/chunk-XMFOZYNI.js.map +1 -0
- package/dist/{chunk-VGCXJRUV.mjs → chunk-YBK6EBA5.mjs} +10 -10
- package/dist/chunk-YBK6EBA5.mjs.map +1 -0
- package/dist/{chunk-HH7HQ4HC.mjs → chunk-ZEDJUNC6.mjs} +2 -2
- package/dist/{chunk-HH7HQ4HC.mjs.map → chunk-ZEDJUNC6.mjs.map} +1 -1
- package/dist/deployments.generated.d.mts +44 -16
- package/dist/deployments.generated.d.ts +44 -16
- package/dist/deployments.generated.js +2 -2
- package/dist/deployments.generated.mjs +1 -1
- package/dist/entities/DopplerFactory.d.mts +7 -1
- package/dist/entities/DopplerFactory.d.ts +7 -1
- package/dist/entities/DopplerFactory.js +16 -14
- package/dist/entities/DopplerFactory.mjs +15 -13
- package/dist/entities/auction/DynamicAuction.js +10 -10
- package/dist/entities/auction/DynamicAuction.mjs +9 -9
- package/dist/entities/auction/MulticurvePool.d.mts +6 -2
- package/dist/entities/auction/MulticurvePool.d.ts +6 -2
- package/dist/entities/auction/MulticurvePool.js +11 -11
- package/dist/entities/auction/MulticurvePool.mjs +10 -10
- package/dist/entities/auction/RehypeDopplerHook.d.mts +57 -0
- package/dist/entities/auction/RehypeDopplerHook.d.ts +57 -0
- package/dist/entities/auction/RehypeDopplerHook.js +34 -0
- package/dist/entities/auction/RehypeDopplerHook.js.map +1 -0
- package/dist/entities/auction/RehypeDopplerHook.mjs +25 -0
- package/dist/entities/auction/RehypeDopplerHook.mjs.map +1 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.d.mts +48 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.d.ts +48 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.js +34 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.js.map +1 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.mjs +25 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.mjs.map +1 -0
- package/dist/entities/auction/StaticAuction.js +10 -10
- package/dist/entities/auction/StaticAuction.mjs +9 -9
- package/dist/entities/auction/index.d.mts +2 -0
- package/dist/entities/auction/index.d.ts +2 -0
- package/dist/entities/auction/index.js +38 -18
- package/dist/entities/auction/index.mjs +25 -13
- package/dist/entities/quoter/Quoter.js +10 -10
- package/dist/entities/quoter/Quoter.mjs +9 -9
- package/dist/entities/quoter/index.js +10 -10
- package/dist/entities/quoter/index.mjs +9 -9
- package/dist/entities/token/derc20/Derc20.js +8 -8
- package/dist/entities/token/derc20/Derc20.mjs +7 -7
- package/dist/entities/token/derc20/index.js +8 -8
- package/dist/entities/token/derc20/index.mjs +7 -7
- package/dist/entities/token/index.js +11 -11
- package/dist/entities/token/index.mjs +7 -7
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +120 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -25
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.mts +90 -7
- package/dist/types.d.ts +90 -7
- package/dist/types.js +12 -8
- package/dist/types.mjs +3 -3
- package/dist/utils/airlock.js +7 -7
- package/dist/utils/airlock.mjs +3 -3
- package/dist/utils/dopplerHookMigrator.d.mts +18 -0
- package/dist/utils/dopplerHookMigrator.d.ts +18 -0
- package/dist/utils/dopplerHookMigrator.js +20 -0
- package/dist/utils/dopplerHookMigrator.js.map +1 -0
- package/dist/utils/dopplerHookMigrator.mjs +7 -0
- package/dist/utils/dopplerHookMigrator.mjs.map +1 -0
- package/dist/utils/index.d.mts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +39 -32
- package/dist/utils/index.mjs +15 -12
- package/dist/utils/marketCapHelpers.js +13 -13
- package/dist/utils/marketCapHelpers.mjs +1 -1
- package/dist/utils/tokenAddressMiner.js +8 -8
- package/dist/utils/tokenAddressMiner.mjs +7 -7
- package/package.json +2 -2
- package/dist/chunk-2ZM4JVFC.js.map +0 -1
- package/dist/chunk-3MVW6UIW.js.map +0 -1
- package/dist/chunk-3PNCB4W5.js +0 -4
- package/dist/chunk-3XYDN2XB.js.map +0 -1
- package/dist/chunk-5TL5V6UX.mjs +0 -3
- package/dist/chunk-5VV7STYK.js.map +0 -1
- package/dist/chunk-64ZQRKG3.mjs.map +0 -1
- package/dist/chunk-ADAAU4F5.mjs.map +0 -1
- package/dist/chunk-AZOBEWP3.mjs.map +0 -1
- package/dist/chunk-COOVGAOE.js.map +0 -1
- package/dist/chunk-CS6FVODR.mjs.map +0 -1
- package/dist/chunk-CUB4F546.js.map +0 -1
- package/dist/chunk-E2NF4AQB.mjs.map +0 -1
- package/dist/chunk-FVTTG72Z.mjs.map +0 -1
- package/dist/chunk-HJ4AS5DZ.mjs.map +0 -1
- package/dist/chunk-KITPRKQ4.mjs.map +0 -1
- package/dist/chunk-LPA32BIK.mjs.map +0 -1
- package/dist/chunk-M2EMKIP5.mjs.map +0 -1
- package/dist/chunk-MT34O3YL.js.map +0 -1
- package/dist/chunk-OF7BIKXV.js.map +0 -1
- package/dist/chunk-OGYWNJGI.js.map +0 -1
- package/dist/chunk-OROTK4OT.js.map +0 -1
- package/dist/chunk-QFQXHDC7.mjs.map +0 -1
- package/dist/chunk-QQEOKYEX.js.map +0 -1
- package/dist/chunk-RLUMYHPI.js.map +0 -1
- package/dist/chunk-SD7BHT2F.mjs +0 -3
- package/dist/chunk-SMTHFPBA.js.map +0 -1
- package/dist/chunk-VGCXJRUV.mjs.map +0 -1
- package/dist/chunk-VGOEXLQ2.js.map +0 -1
- package/dist/chunk-VK5HAWX6.mjs.map +0 -1
- package/dist/chunk-WDSV4O6T.mjs.map +0 -1
- package/dist/chunk-WKKOBMXR.js.map +0 -1
- package/dist/chunk-WTS75RUC.js +0 -4
- package/dist/chunk-ZRNPHFP3.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,143 +1,162 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkP563HTVU_js = require('./chunk-P563HTVU.js');
|
|
4
|
+
require('./chunk-T3UA4MJL.js');
|
|
5
|
+
var chunkIIM2CSDQ_js = require('./chunk-IIM2CSDQ.js');
|
|
6
|
+
var chunkDCWF3EMP_js = require('./chunk-DCWF3EMP.js');
|
|
7
|
+
var chunkMEA2C5YX_js = require('./chunk-MEA2C5YX.js');
|
|
5
8
|
require('./chunk-P7CHGWY7.js');
|
|
6
|
-
var
|
|
9
|
+
var chunk5JHXBDZD_js = require('./chunk-5JHXBDZD.js');
|
|
7
10
|
require('./chunk-WQHTNL5L.js');
|
|
8
11
|
require('./chunk-X3UMAHOJ.js');
|
|
9
|
-
var chunkRXUJ4DUB_js = require('./chunk-RXUJ4DUB.js');
|
|
10
12
|
require('./chunk-VEIVYUYF.js');
|
|
11
13
|
var chunkYYLD3AJ7_js = require('./chunk-YYLD3AJ7.js');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
14
|
+
var chunkA2CJYRRQ_js = require('./chunk-A2CJYRRQ.js');
|
|
15
|
+
var chunkWZF5XNBC_js = require('./chunk-WZF5XNBC.js');
|
|
16
|
+
var chunkCFXXUZJY_js = require('./chunk-CFXXUZJY.js');
|
|
15
17
|
require('./chunk-JIKAD4YL.js');
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
18
|
+
var chunk44CYUEPG_js = require('./chunk-44CYUEPG.js');
|
|
19
|
+
var chunk2A3B3NVB_js = require('./chunk-2A3B3NVB.js');
|
|
20
|
+
var chunkRLOZWHRR_js = require('./chunk-RLOZWHRR.js');
|
|
21
|
+
require('./chunk-HJFVRV47.js');
|
|
22
|
+
var chunkBK3S6SVR_js = require('./chunk-BK3S6SVR.js');
|
|
23
|
+
require('./chunk-DSYPZETD.js');
|
|
24
|
+
var chunkWNUB3UTT_js = require('./chunk-WNUB3UTT.js');
|
|
22
25
|
var chunkUPVKABAV_js = require('./chunk-UPVKABAV.js');
|
|
23
|
-
var
|
|
26
|
+
var chunkQOYI7WCH_js = require('./chunk-QOYI7WCH.js');
|
|
27
|
+
var chunkFNUBKONK_js = require('./chunk-FNUBKONK.js');
|
|
24
28
|
var chunk6H6X3VTZ_js = require('./chunk-6H6X3VTZ.js');
|
|
25
29
|
var chunk7M57PU6V_js = require('./chunk-7M57PU6V.js');
|
|
26
30
|
var chunkKHUE77HC_js = require('./chunk-KHUE77HC.js');
|
|
27
31
|
var chunk4VWQNNNW_js = require('./chunk-4VWQNNNW.js');
|
|
28
|
-
var
|
|
29
|
-
var chunkS4IZ5ATO_js = require('./chunk-S4IZ5ATO.js');
|
|
32
|
+
var chunkBQZTELUX_js = require('./chunk-BQZTELUX.js');
|
|
30
33
|
var chunkXSJTASPK_js = require('./chunk-XSJTASPK.js');
|
|
31
34
|
var chunk6BQY5EPB_js = require('./chunk-6BQY5EPB.js');
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
require('./chunk-
|
|
35
|
-
var
|
|
35
|
+
var chunk65CESA3J_js = require('./chunk-65CESA3J.js');
|
|
36
|
+
var chunk7A4DBBXA_js = require('./chunk-7A4DBBXA.js');
|
|
37
|
+
require('./chunk-PGYTMRP3.js');
|
|
38
|
+
var chunkMU56HCUI_js = require('./chunk-MU56HCUI.js');
|
|
36
39
|
require('./chunk-4XN6DQBW.js');
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
40
|
+
var chunkQRTABC4Z_js = require('./chunk-QRTABC4Z.js');
|
|
41
|
+
var chunkJ62YDWIK_js = require('./chunk-J62YDWIK.js');
|
|
42
|
+
var chunkXMFOZYNI_js = require('./chunk-XMFOZYNI.js');
|
|
43
|
+
var chunkQAPQGDWK_js = require('./chunk-QAPQGDWK.js');
|
|
44
|
+
var chunk5TQOT6CW_js = require('./chunk-5TQOT6CW.js');
|
|
42
45
|
|
|
43
46
|
// src/index.ts
|
|
44
47
|
var VERSION = "0.0.1";
|
|
45
48
|
|
|
46
49
|
Object.defineProperty(exports, "DopplerSDK", {
|
|
47
50
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkP563HTVU_js.DopplerSDK; }
|
|
49
52
|
});
|
|
50
|
-
Object.defineProperty(exports, "
|
|
53
|
+
Object.defineProperty(exports, "RehypeDopplerHook", {
|
|
51
54
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkIIM2CSDQ_js.RehypeDopplerHook; }
|
|
53
56
|
});
|
|
54
|
-
Object.defineProperty(exports, "
|
|
57
|
+
Object.defineProperty(exports, "RehypeDopplerHookMigrator", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkDCWF3EMP_js.RehypeDopplerHookMigrator; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "StaticAuction", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkMEA2C5YX_js.StaticAuction; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "Quoter", {
|
|
55
66
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk5JHXBDZD_js.Quoter; }
|
|
57
68
|
});
|
|
58
69
|
Object.defineProperty(exports, "Eth", {
|
|
59
70
|
enumerable: true,
|
|
60
71
|
get: function () { return chunkYYLD3AJ7_js.Eth; }
|
|
61
72
|
});
|
|
62
|
-
Object.defineProperty(exports, "
|
|
73
|
+
Object.defineProperty(exports, "Derc20", {
|
|
63
74
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkA2CJYRRQ_js.Derc20; }
|
|
65
76
|
});
|
|
66
|
-
Object.defineProperty(exports, "
|
|
77
|
+
Object.defineProperty(exports, "DynamicAuction", {
|
|
67
78
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkWZF5XNBC_js.DynamicAuction; }
|
|
69
80
|
});
|
|
70
|
-
Object.defineProperty(exports, "
|
|
81
|
+
Object.defineProperty(exports, "MulticurvePool", {
|
|
71
82
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkCFXXUZJY_js.MulticurvePool; }
|
|
73
84
|
});
|
|
74
85
|
Object.defineProperty(exports, "DynamicAuctionBuilder", {
|
|
75
86
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk44CYUEPG_js.DynamicAuctionBuilder; }
|
|
77
88
|
});
|
|
78
89
|
Object.defineProperty(exports, "MulticurveBuilder", {
|
|
79
90
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk2A3B3NVB_js.MulticurveBuilder; }
|
|
81
92
|
});
|
|
82
93
|
Object.defineProperty(exports, "StaticAuctionBuilder", {
|
|
83
94
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkRLOZWHRR_js.StaticAuctionBuilder; }
|
|
85
96
|
});
|
|
86
97
|
Object.defineProperty(exports, "DopplerFactory", {
|
|
87
98
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkBK3S6SVR_js.DopplerFactory; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "mineTokenAddress", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkWNUB3UTT_js.mineTokenAddress; }
|
|
89
104
|
});
|
|
90
105
|
Object.defineProperty(exports, "computeOptimalGamma", {
|
|
91
106
|
enumerable: true,
|
|
92
107
|
get: function () { return chunkUPVKABAV_js.computeOptimalGamma; }
|
|
93
108
|
});
|
|
109
|
+
Object.defineProperty(exports, "encodeRehypeDopplerHookMigratorCalldata", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkQOYI7WCH_js.encodeRehypeDopplerHookMigratorCalldata; }
|
|
112
|
+
});
|
|
94
113
|
Object.defineProperty(exports, "applyTickOffsets", {
|
|
95
114
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkFNUBKONK_js.applyTickOffsets; }
|
|
97
116
|
});
|
|
98
117
|
Object.defineProperty(exports, "getMaxTickRounded", {
|
|
99
118
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkFNUBKONK_js.getMaxTickRounded; }
|
|
101
120
|
});
|
|
102
121
|
Object.defineProperty(exports, "isToken1", {
|
|
103
122
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkFNUBKONK_js.isToken1; }
|
|
105
124
|
});
|
|
106
125
|
Object.defineProperty(exports, "marketCapToTickForMulticurve", {
|
|
107
126
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTickForMulticurve; }
|
|
109
128
|
});
|
|
110
129
|
Object.defineProperty(exports, "marketCapToTicksForDynamicAuction", {
|
|
111
130
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTicksForDynamicAuction; }
|
|
113
132
|
});
|
|
114
133
|
Object.defineProperty(exports, "marketCapToTicksForMulticurve", {
|
|
115
134
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTicksForMulticurve; }
|
|
117
136
|
});
|
|
118
137
|
Object.defineProperty(exports, "marketCapToTicksForStaticAuction", {
|
|
119
138
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTicksForStaticAuction; }
|
|
121
140
|
});
|
|
122
141
|
Object.defineProperty(exports, "marketCapToTokenPrice", {
|
|
123
142
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTokenPrice; }
|
|
125
144
|
});
|
|
126
145
|
Object.defineProperty(exports, "ratioToTick", {
|
|
127
146
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkFNUBKONK_js.ratioToTick; }
|
|
129
148
|
});
|
|
130
149
|
Object.defineProperty(exports, "tickToMarketCap", {
|
|
131
150
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkFNUBKONK_js.tickToMarketCap; }
|
|
133
152
|
});
|
|
134
153
|
Object.defineProperty(exports, "tokenPriceToRatio", {
|
|
135
154
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkFNUBKONK_js.tokenPriceToRatio; }
|
|
137
156
|
});
|
|
138
157
|
Object.defineProperty(exports, "validateMarketCapParameters", {
|
|
139
158
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkFNUBKONK_js.validateMarketCapParameters; }
|
|
141
160
|
});
|
|
142
161
|
Object.defineProperty(exports, "isToken0Expected", {
|
|
143
162
|
enumerable: true,
|
|
@@ -227,25 +246,21 @@ Object.defineProperty(exports, "tickToPrice", {
|
|
|
227
246
|
enumerable: true,
|
|
228
247
|
get: function () { return chunk4VWQNNNW_js.tickToPrice; }
|
|
229
248
|
});
|
|
230
|
-
Object.defineProperty(exports, "mineTokenAddress", {
|
|
231
|
-
enumerable: true,
|
|
232
|
-
get: function () { return chunkOROTK4OT_js.mineTokenAddress; }
|
|
233
|
-
});
|
|
234
249
|
Object.defineProperty(exports, "DEFAULT_AIRLOCK_BENEFICIARY_SHARES", {
|
|
235
250
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkBQZTELUX_js.DEFAULT_AIRLOCK_BENEFICIARY_SHARES; }
|
|
237
252
|
});
|
|
238
253
|
Object.defineProperty(exports, "createAirlockBeneficiary", {
|
|
239
254
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
255
|
+
get: function () { return chunkBQZTELUX_js.createAirlockBeneficiary; }
|
|
241
256
|
});
|
|
242
257
|
Object.defineProperty(exports, "getAirlockBeneficiary", {
|
|
243
258
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkBQZTELUX_js.getAirlockBeneficiary; }
|
|
245
260
|
});
|
|
246
261
|
Object.defineProperty(exports, "getAirlockOwner", {
|
|
247
262
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkBQZTELUX_js.getAirlockOwner; }
|
|
249
264
|
});
|
|
250
265
|
Object.defineProperty(exports, "decodeBalanceDelta", {
|
|
251
266
|
enumerable: true,
|
|
@@ -425,135 +440,147 @@ Object.defineProperty(exports, "ZERO_ADDRESS", {
|
|
|
425
440
|
});
|
|
426
441
|
Object.defineProperty(exports, "LockablePoolStatus", {
|
|
427
442
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunk65CESA3J_js.LockablePoolStatus; }
|
|
444
|
+
});
|
|
445
|
+
Object.defineProperty(exports, "RehypeFeeRoutingMode", {
|
|
446
|
+
enumerable: true,
|
|
447
|
+
get: function () { return chunk65CESA3J_js.RehypeFeeRoutingMode; }
|
|
429
448
|
});
|
|
430
449
|
Object.defineProperty(exports, "ADDRESSES", {
|
|
431
450
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunk7A4DBBXA_js.ADDRESSES; }
|
|
433
452
|
});
|
|
434
453
|
Object.defineProperty(exports, "CHAIN_IDS", {
|
|
435
454
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunk7A4DBBXA_js.CHAIN_IDS; }
|
|
437
456
|
});
|
|
438
457
|
Object.defineProperty(exports, "SUPPORTED_CHAIN_IDS", {
|
|
439
458
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunk7A4DBBXA_js.SUPPORTED_CHAIN_IDS; }
|
|
441
460
|
});
|
|
442
461
|
Object.defineProperty(exports, "getAddresses", {
|
|
443
462
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunk7A4DBBXA_js.getAddresses; }
|
|
445
464
|
});
|
|
446
465
|
Object.defineProperty(exports, "isSupportedChainId", {
|
|
447
466
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunk7A4DBBXA_js.isSupportedChainId; }
|
|
449
468
|
});
|
|
450
469
|
Object.defineProperty(exports, "airlockAbi", {
|
|
451
470
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkMU56HCUI_js.airlockAbi; }
|
|
453
472
|
});
|
|
454
473
|
Object.defineProperty(exports, "bundlerAbi", {
|
|
455
474
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunkMU56HCUI_js.bundlerAbi; }
|
|
457
476
|
});
|
|
458
477
|
Object.defineProperty(exports, "decayMulticurveInitializerHookAbi", {
|
|
459
478
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkMU56HCUI_js.decayMulticurveInitializerHookAbi; }
|
|
461
480
|
});
|
|
462
481
|
Object.defineProperty(exports, "derc20Abi", {
|
|
463
482
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkMU56HCUI_js.derc20Abi; }
|
|
465
484
|
});
|
|
466
485
|
Object.defineProperty(exports, "dopplerHookAbi", {
|
|
467
486
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunkMU56HCUI_js.dopplerHookAbi; }
|
|
488
|
+
});
|
|
489
|
+
Object.defineProperty(exports, "dopplerHookInitializerAbi", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function () { return chunkMU56HCUI_js.dopplerHookInitializerAbi; }
|
|
469
492
|
});
|
|
470
493
|
Object.defineProperty(exports, "dopplerLensAbi", {
|
|
471
494
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkMU56HCUI_js.dopplerLensAbi; }
|
|
473
496
|
});
|
|
474
497
|
Object.defineProperty(exports, "lockableUniswapV3InitializerAbi", {
|
|
475
498
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunkMU56HCUI_js.lockableUniswapV3InitializerAbi; }
|
|
477
500
|
});
|
|
478
501
|
Object.defineProperty(exports, "poolManagerAbi", {
|
|
479
502
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunkMU56HCUI_js.poolManagerAbi; }
|
|
481
504
|
});
|
|
482
505
|
Object.defineProperty(exports, "quoterV2Abi", {
|
|
483
506
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunkMU56HCUI_js.quoterV2Abi; }
|
|
485
508
|
});
|
|
486
509
|
Object.defineProperty(exports, "rehypeDopplerHookAbi", {
|
|
487
510
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunkMU56HCUI_js.rehypeDopplerHookAbi; }
|
|
512
|
+
});
|
|
513
|
+
Object.defineProperty(exports, "rehypeDopplerHookMigratorAbi", {
|
|
514
|
+
enumerable: true,
|
|
515
|
+
get: function () { return chunkMU56HCUI_js.rehypeDopplerHookMigratorAbi; }
|
|
489
516
|
});
|
|
490
517
|
Object.defineProperty(exports, "streamableFeesLockerAbi", {
|
|
491
518
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunkMU56HCUI_js.streamableFeesLockerAbi; }
|
|
493
520
|
});
|
|
494
521
|
Object.defineProperty(exports, "uniswapV2Router02Abi", {
|
|
495
522
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunkMU56HCUI_js.uniswapV2Router02Abi; }
|
|
497
524
|
});
|
|
498
525
|
Object.defineProperty(exports, "uniswapV3InitializerAbi", {
|
|
499
526
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunkMU56HCUI_js.uniswapV3InitializerAbi; }
|
|
501
528
|
});
|
|
502
529
|
Object.defineProperty(exports, "uniswapV3PoolAbi", {
|
|
503
530
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunkMU56HCUI_js.uniswapV3PoolAbi; }
|
|
505
532
|
});
|
|
506
533
|
Object.defineProperty(exports, "uniswapV4InitializerAbi", {
|
|
507
534
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunkMU56HCUI_js.uniswapV4InitializerAbi; }
|
|
509
536
|
});
|
|
510
537
|
Object.defineProperty(exports, "v2MigratorAbi", {
|
|
511
538
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkMU56HCUI_js.v2MigratorAbi; }
|
|
513
540
|
});
|
|
514
541
|
Object.defineProperty(exports, "v3MigratorAbi", {
|
|
515
542
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkMU56HCUI_js.v3MigratorAbi; }
|
|
517
544
|
});
|
|
518
545
|
Object.defineProperty(exports, "v4MigratorAbi", {
|
|
519
546
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunkMU56HCUI_js.v4MigratorAbi; }
|
|
521
548
|
});
|
|
522
549
|
Object.defineProperty(exports, "v4MulticurveInitializerAbi", {
|
|
523
550
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunkMU56HCUI_js.v4MulticurveInitializerAbi; }
|
|
525
552
|
});
|
|
526
553
|
Object.defineProperty(exports, "v4MulticurveMigratorAbi", {
|
|
527
554
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkMU56HCUI_js.v4MulticurveMigratorAbi; }
|
|
529
556
|
});
|
|
530
557
|
Object.defineProperty(exports, "v4QuoterAbi", {
|
|
531
558
|
enumerable: true,
|
|
532
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkMU56HCUI_js.v4QuoterAbi; }
|
|
533
560
|
});
|
|
534
561
|
Object.defineProperty(exports, "weth9Abi", {
|
|
535
562
|
enumerable: true,
|
|
536
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkMU56HCUI_js.weth9Abi; }
|
|
537
564
|
});
|
|
538
565
|
Object.defineProperty(exports, "DERC20Bytecode", {
|
|
539
566
|
enumerable: true,
|
|
540
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkQRTABC4Z_js.derc20_default; }
|
|
541
568
|
});
|
|
542
569
|
Object.defineProperty(exports, "DERC2080Bytecode", {
|
|
543
570
|
enumerable: true,
|
|
544
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkJ62YDWIK_js.derc2080_default; }
|
|
545
572
|
});
|
|
546
573
|
Object.defineProperty(exports, "DopplerBytecode", {
|
|
547
574
|
enumerable: true,
|
|
548
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkXMFOZYNI_js.doppler_default; }
|
|
549
576
|
});
|
|
550
577
|
Object.defineProperty(exports, "DopplerDN404Bytecode", {
|
|
551
578
|
enumerable: true,
|
|
552
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkQAPQGDWK_js.dopplerDN404_default; }
|
|
553
580
|
});
|
|
554
581
|
Object.defineProperty(exports, "StateViewBytecode", {
|
|
555
582
|
enumerable: true,
|
|
556
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunk5TQOT6CW_js.stateView_default; }
|
|
557
584
|
});
|
|
558
585
|
exports.VERSION = VERSION;
|
|
559
586
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAM,OAAA,GAAU","file":"index.js","sourcesContent":["export const VERSION = '0.0.1';\n\n// Export the main SDK class\nexport { DopplerSDK } from './DopplerSDK';\n\n// Export factory and auction classes\nexport { DopplerFactory } from './entities/DopplerFactory';\nexport type { MigrationEncoder } from './entities/DopplerFactory';\nexport {\n StaticAuction,\n DynamicAuction,\n MulticurvePool,\n RehypeDopplerHook,\n RehypeDopplerHookMigrator,\n} from './entities/auction';\n\n// Export quoter\nexport { Quoter } from './entities/quoter';\n\n// Export token entities\nexport { Derc20, Eth } from './entities/token';\n\n// Export builders and common interface\nexport {\n StaticAuctionBuilder,\n DynamicAuctionBuilder,\n MulticurveBuilder,\n} from './builders';\nexport type { BaseAuctionBuilder } from './builders/shared';\n\n// Export all types\nexport type {\n // Core types\n TokenConfig,\n SaleConfig,\n StaticPoolConfig,\n DynamicAuctionConfig,\n VestingConfig,\n MigrationConfig,\n DopplerHookMigrationConfig,\n BeneficiaryData,\n\n // Lockable initializer types\n LockablePoolState,\n LockableV3InitializerParams,\n MulticurvePoolState,\n MulticurveMarketCapPreset,\n\n // DopplerHook types (e.g., RehypeDopplerHook)\n RehypeDopplerHookConfig,\n RehypeFeeDistributionInfo,\n RehypeDopplerHookMigratorConfig,\n MulticurveInitializerConfig,\n MulticurveDecayFeeSchedule,\n\n // Parameter types\n CreateStaticAuctionParams,\n CreateDynamicAuctionParams,\n CreateMulticurveParams,\n V4PoolKey,\n MulticurveBundleExactOutResult,\n MulticurveBundleExactInResult,\n\n // Configuration types\n DopplerSDKConfig,\n\n // Information types\n PoolInfo,\n HookInfo,\n QuoteResult,\n\n // Chain/public client helper types\n SupportedPublicClient,\n SupportedChain,\n\n // Governance helper types\n NoOpEnabledChainId,\n NO_OP_ENABLED_CHAIN_IDS,\n isNoOpEnabledChain,\n LaunchpadEnabledChainId,\n LAUNCHPAD_ENABLED_CHAIN_IDS,\n isLaunchpadEnabledChain,\n GovernanceOption,\n GovernanceLaunchpad,\n\n // Market cap configuration types\n MarketCapRange,\n DynamicMarketCapRange,\n MarketCapConfig,\n StaticAuctionMarketCapConfig,\n DynamicAuctionMarketCapConfig,\n MulticurveMarketCapRangeCurve,\n MulticurveMarketCapCurvesConfig,\n MarketCapValidationResult,\n\n // Internal create() param shape (advanced)\n CreateParams,\n} from './types';\n\n// Also export module override type for advanced usage\nexport type { ModuleAddressOverrides } from './types';\n\n// Export enums\nexport { LockablePoolStatus } from './types';\nexport { RehypeFeeRoutingMode } from './types';\n\n// Export addresses and utilities\nexport {\n ADDRESSES,\n CHAIN_IDS,\n getAddresses,\n SUPPORTED_CHAIN_IDS,\n isSupportedChainId,\n} from './addresses';\nexport type {\n SupportedChainId,\n ChainAddresses,\n SupportedChainKey,\n} from './addresses';\n\n// Export constants (excluding MIN_SQRT_RATIO and MAX_SQRT_RATIO to avoid conflicts)\nexport {\n WAD,\n DEAD_ADDRESS,\n ZERO_ADDRESS,\n FEE_TIERS,\n TICK_SPACINGS,\n SECONDS_PER_DAY,\n SECONDS_PER_YEAR,\n DEFAULT_EPOCH_LENGTH,\n DEFAULT_AUCTION_DURATION,\n DEFAULT_LOCK_DURATION,\n DEFAULT_PD_SLUGS,\n DAY_SECONDS,\n DEFAULT_V3_START_TICK,\n DEFAULT_V3_END_TICK,\n DEFAULT_V3_NUM_POSITIONS,\n DEFAULT_V3_FEE,\n DEFAULT_V3_INITIAL_VOTING_DELAY,\n DEFAULT_V3_INITIAL_VOTING_PERIOD,\n DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD,\n DEFAULT_V3_VESTING_DURATION,\n DEFAULT_V3_INITIAL_SUPPLY,\n DEFAULT_V3_NUM_TOKENS_TO_SELL,\n DEFAULT_V3_YEARLY_MINT_RATE,\n DEFAULT_V3_PRE_MINT,\n DEFAULT_V3_MAX_SHARE_TO_BE_SOLD,\n DEFAULT_V4_INITIAL_VOTING_DELAY,\n DEFAULT_V4_INITIAL_VOTING_PERIOD,\n DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD,\n DEFAULT_V4_YEARLY_MINT_RATE,\n DEFAULT_MULTICURVE_LOWER_TICKS,\n DEFAULT_MULTICURVE_UPPER_TICKS,\n DEFAULT_MULTICURVE_NUM_POSITIONS,\n DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES,\n BASIS_POINTS,\n FLAG_MASK,\n DOPPLER_FLAGS,\n DYNAMIC_FEE_FLAG,\n FEE_AMOUNT_MASK,\n DOPPLER_MAX_TICK_SPACING,\n VALID_FEE_TIERS,\n V3_FEE_TIERS,\n V4_MAX_FEE,\n DECAY_MAX_START_FEE,\n type FeeTier,\n} from './constants';\n\n// Export utility functions (includes MIN_SQRT_RATIO and MAX_SQRT_RATIO from tickMath)\nexport * from './utils';\n\n// Export ABIs\nexport * from './abis';\n"]}
|
package/dist/index.mjs
CHANGED
|
@@ -1,42 +1,45 @@
|
|
|
1
|
-
export { DopplerSDK } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { DopplerSDK } from './chunk-TEWAXP5C.mjs';
|
|
2
|
+
import './chunk-FXTGIKQG.mjs';
|
|
3
|
+
export { RehypeDopplerHook } from './chunk-F2BYG63D.mjs';
|
|
4
|
+
export { RehypeDopplerHookMigrator } from './chunk-OCIY7QEJ.mjs';
|
|
5
|
+
export { StaticAuction } from './chunk-IX4V4UGW.mjs';
|
|
3
6
|
import './chunk-QSQGLWNY.mjs';
|
|
4
|
-
export { Quoter } from './chunk-
|
|
7
|
+
export { Quoter } from './chunk-RDTIXP6S.mjs';
|
|
5
8
|
import './chunk-FOESYJP3.mjs';
|
|
6
9
|
import './chunk-RV64M4Q6.mjs';
|
|
7
|
-
export { Derc20 } from './chunk-QOGBOT2M.mjs';
|
|
8
10
|
import './chunk-XNMXN5SZ.mjs';
|
|
9
11
|
export { Eth } from './chunk-KAZQJ24E.mjs';
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
12
|
+
export { Derc20 } from './chunk-QHBKRUBY.mjs';
|
|
13
|
+
export { DynamicAuction } from './chunk-IUTIHSLH.mjs';
|
|
14
|
+
export { MulticurvePool } from './chunk-THEIRDGE.mjs';
|
|
13
15
|
import './chunk-P25HBGP5.mjs';
|
|
14
|
-
export { DynamicAuctionBuilder } from './chunk-
|
|
15
|
-
export { MulticurveBuilder } from './chunk-
|
|
16
|
-
export { StaticAuctionBuilder } from './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
export { DopplerFactory } from './chunk-
|
|
19
|
-
import './chunk-
|
|
16
|
+
export { DynamicAuctionBuilder } from './chunk-WNWK2QMU.mjs';
|
|
17
|
+
export { MulticurveBuilder } from './chunk-QUBD6HUZ.mjs';
|
|
18
|
+
export { StaticAuctionBuilder } from './chunk-DQJXCZU2.mjs';
|
|
19
|
+
import './chunk-ZEDJUNC6.mjs';
|
|
20
|
+
export { DopplerFactory } from './chunk-LW3CYA27.mjs';
|
|
21
|
+
import './chunk-7ZUV6WPX.mjs';
|
|
22
|
+
export { mineTokenAddress } from './chunk-YBK6EBA5.mjs';
|
|
20
23
|
export { computeOptimalGamma } from './chunk-H3B54PFV.mjs';
|
|
21
|
-
export {
|
|
24
|
+
export { encodeRehypeDopplerHookMigratorCalldata } from './chunk-IUZ3BBQP.mjs';
|
|
25
|
+
export { applyTickOffsets, getMaxTickRounded, isToken1, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, ratioToTick, tickToMarketCap, tokenPriceToRatio, validateMarketCapParameters } from './chunk-GSBQIVME.mjs';
|
|
22
26
|
export { isToken0Expected } from './chunk-ABT6AT7C.mjs';
|
|
23
27
|
export { computePoolId } from './chunk-CFAAYL5M.mjs';
|
|
24
28
|
export { calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, estimatePriceAtEpoch, estimateSlippage, formatTickAsPrice } from './chunk-CWTGQAOG.mjs';
|
|
25
29
|
export { MAX_SQRT_RATIO, MAX_TICK, MIN_SQRT_RATIO, MIN_TICK, Q96, getNearestUsableTick, getSqrtRatioAtTick, getTickAtSqrtRatio, priceToSqrtPriceX96, priceToTick, sqrtPriceX96ToPrice, tickToPrice } from './chunk-25GEBO3B.mjs';
|
|
26
|
-
export {
|
|
27
|
-
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from './chunk-AZH2P4JK.mjs';
|
|
30
|
+
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from './chunk-5GQJRNFL.mjs';
|
|
28
31
|
export { decodeBalanceDelta } from './chunk-KOAC3BBP.mjs';
|
|
29
32
|
export { BASIS_POINTS, DAY_SECONDS, DEAD_ADDRESS, DECAY_MAX_START_FEE, DEFAULT_AUCTION_DURATION, DEFAULT_EPOCH_LENGTH, DEFAULT_LOCK_DURATION, DEFAULT_MULTICURVE_LOWER_TICKS, DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES, DEFAULT_MULTICURVE_NUM_POSITIONS, DEFAULT_MULTICURVE_UPPER_TICKS, DEFAULT_PD_SLUGS, DEFAULT_V3_END_TICK, DEFAULT_V3_FEE, DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V3_INITIAL_SUPPLY, DEFAULT_V3_INITIAL_VOTING_DELAY, DEFAULT_V3_INITIAL_VOTING_PERIOD, DEFAULT_V3_MAX_SHARE_TO_BE_SOLD, DEFAULT_V3_NUM_POSITIONS, DEFAULT_V3_NUM_TOKENS_TO_SELL, DEFAULT_V3_PRE_MINT, DEFAULT_V3_START_TICK, DEFAULT_V3_VESTING_DURATION, DEFAULT_V3_YEARLY_MINT_RATE, DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD, DEFAULT_V4_INITIAL_VOTING_DELAY, DEFAULT_V4_INITIAL_VOTING_PERIOD, DEFAULT_V4_YEARLY_MINT_RATE, DOPPLER_FLAGS, DOPPLER_MAX_TICK_SPACING, DYNAMIC_FEE_FLAG, FEE_AMOUNT_MASK, FEE_TIERS, FLAG_MASK, SECONDS_PER_DAY, SECONDS_PER_YEAR, TICK_SPACINGS, V3_FEE_TIERS, V4_MAX_FEE, VALID_FEE_TIERS, WAD, ZERO_ADDRESS } from './chunk-IWJOPXYN.mjs';
|
|
30
|
-
export { LockablePoolStatus } from './chunk-
|
|
31
|
-
export { ADDRESSES, CHAIN_IDS, SUPPORTED_CHAIN_IDS, getAddresses, isSupportedChainId } from './chunk-
|
|
32
|
-
import './chunk-
|
|
33
|
-
export { airlockAbi, bundlerAbi, decayMulticurveInitializerHookAbi, derc20Abi, dopplerHookAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi } from './chunk-
|
|
33
|
+
export { LockablePoolStatus, RehypeFeeRoutingMode } from './chunk-WKWP42TD.mjs';
|
|
34
|
+
export { ADDRESSES, CHAIN_IDS, SUPPORTED_CHAIN_IDS, getAddresses, isSupportedChainId } from './chunk-WDC53TM7.mjs';
|
|
35
|
+
import './chunk-VKSD3KXF.mjs';
|
|
36
|
+
export { airlockAbi, bundlerAbi, decayMulticurveInitializerHookAbi, derc20Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi } from './chunk-JLUOFAE4.mjs';
|
|
34
37
|
import './chunk-DOUF6NON.mjs';
|
|
35
|
-
export { derc20_default as DERC20Bytecode } from './chunk-
|
|
36
|
-
export { derc2080_default as DERC2080Bytecode } from './chunk-
|
|
37
|
-
export { doppler_default as DopplerBytecode } from './chunk-
|
|
38
|
-
export { dopplerDN404_default as DopplerDN404Bytecode } from './chunk-
|
|
39
|
-
export { stateView_default as StateViewBytecode } from './chunk-
|
|
38
|
+
export { derc20_default as DERC20Bytecode } from './chunk-VYSOAGRU.mjs';
|
|
39
|
+
export { derc2080_default as DERC2080Bytecode } from './chunk-U3GOWK6J.mjs';
|
|
40
|
+
export { doppler_default as DopplerBytecode } from './chunk-SWWLOD7Q.mjs';
|
|
41
|
+
export { dopplerDN404_default as DopplerDN404Bytecode } from './chunk-OHA5KJ2M.mjs';
|
|
42
|
+
export { stateView_default as StateViewBytecode } from './chunk-3NMGCQJ4.mjs';
|
|
40
43
|
|
|
41
44
|
// src/index.ts
|
|
42
45
|
var VERSION = "0.0.1";
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAM,OAAA,GAAU","file":"index.mjs","sourcesContent":["export const VERSION = '0.0.1';\n\n// Export the main SDK class\nexport { DopplerSDK } from './DopplerSDK';\n\n// Export factory and auction classes\nexport { DopplerFactory } from './entities/DopplerFactory';\nexport type { MigrationEncoder } from './entities/DopplerFactory';\nexport {\n StaticAuction,\n DynamicAuction,\n MulticurvePool,\n RehypeDopplerHook,\n RehypeDopplerHookMigrator,\n} from './entities/auction';\n\n// Export quoter\nexport { Quoter } from './entities/quoter';\n\n// Export token entities\nexport { Derc20, Eth } from './entities/token';\n\n// Export builders and common interface\nexport {\n StaticAuctionBuilder,\n DynamicAuctionBuilder,\n MulticurveBuilder,\n} from './builders';\nexport type { BaseAuctionBuilder } from './builders/shared';\n\n// Export all types\nexport type {\n // Core types\n TokenConfig,\n SaleConfig,\n StaticPoolConfig,\n DynamicAuctionConfig,\n VestingConfig,\n MigrationConfig,\n DopplerHookMigrationConfig,\n BeneficiaryData,\n\n // Lockable initializer types\n LockablePoolState,\n LockableV3InitializerParams,\n MulticurvePoolState,\n MulticurveMarketCapPreset,\n\n // DopplerHook types (e.g., RehypeDopplerHook)\n RehypeDopplerHookConfig,\n RehypeFeeDistributionInfo,\n RehypeDopplerHookMigratorConfig,\n MulticurveInitializerConfig,\n MulticurveDecayFeeSchedule,\n\n // Parameter types\n CreateStaticAuctionParams,\n CreateDynamicAuctionParams,\n CreateMulticurveParams,\n V4PoolKey,\n MulticurveBundleExactOutResult,\n MulticurveBundleExactInResult,\n\n // Configuration types\n DopplerSDKConfig,\n\n // Information types\n PoolInfo,\n HookInfo,\n QuoteResult,\n\n // Chain/public client helper types\n SupportedPublicClient,\n SupportedChain,\n\n // Governance helper types\n NoOpEnabledChainId,\n NO_OP_ENABLED_CHAIN_IDS,\n isNoOpEnabledChain,\n LaunchpadEnabledChainId,\n LAUNCHPAD_ENABLED_CHAIN_IDS,\n isLaunchpadEnabledChain,\n GovernanceOption,\n GovernanceLaunchpad,\n\n // Market cap configuration types\n MarketCapRange,\n DynamicMarketCapRange,\n MarketCapConfig,\n StaticAuctionMarketCapConfig,\n DynamicAuctionMarketCapConfig,\n MulticurveMarketCapRangeCurve,\n MulticurveMarketCapCurvesConfig,\n MarketCapValidationResult,\n\n // Internal create() param shape (advanced)\n CreateParams,\n} from './types';\n\n// Also export module override type for advanced usage\nexport type { ModuleAddressOverrides } from './types';\n\n// Export enums\nexport { LockablePoolStatus } from './types';\nexport { RehypeFeeRoutingMode } from './types';\n\n// Export addresses and utilities\nexport {\n ADDRESSES,\n CHAIN_IDS,\n getAddresses,\n SUPPORTED_CHAIN_IDS,\n isSupportedChainId,\n} from './addresses';\nexport type {\n SupportedChainId,\n ChainAddresses,\n SupportedChainKey,\n} from './addresses';\n\n// Export constants (excluding MIN_SQRT_RATIO and MAX_SQRT_RATIO to avoid conflicts)\nexport {\n WAD,\n DEAD_ADDRESS,\n ZERO_ADDRESS,\n FEE_TIERS,\n TICK_SPACINGS,\n SECONDS_PER_DAY,\n SECONDS_PER_YEAR,\n DEFAULT_EPOCH_LENGTH,\n DEFAULT_AUCTION_DURATION,\n DEFAULT_LOCK_DURATION,\n DEFAULT_PD_SLUGS,\n DAY_SECONDS,\n DEFAULT_V3_START_TICK,\n DEFAULT_V3_END_TICK,\n DEFAULT_V3_NUM_POSITIONS,\n DEFAULT_V3_FEE,\n DEFAULT_V3_INITIAL_VOTING_DELAY,\n DEFAULT_V3_INITIAL_VOTING_PERIOD,\n DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD,\n DEFAULT_V3_VESTING_DURATION,\n DEFAULT_V3_INITIAL_SUPPLY,\n DEFAULT_V3_NUM_TOKENS_TO_SELL,\n DEFAULT_V3_YEARLY_MINT_RATE,\n DEFAULT_V3_PRE_MINT,\n DEFAULT_V3_MAX_SHARE_TO_BE_SOLD,\n DEFAULT_V4_INITIAL_VOTING_DELAY,\n DEFAULT_V4_INITIAL_VOTING_PERIOD,\n DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD,\n DEFAULT_V4_YEARLY_MINT_RATE,\n DEFAULT_MULTICURVE_LOWER_TICKS,\n DEFAULT_MULTICURVE_UPPER_TICKS,\n DEFAULT_MULTICURVE_NUM_POSITIONS,\n DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES,\n BASIS_POINTS,\n FLAG_MASK,\n DOPPLER_FLAGS,\n DYNAMIC_FEE_FLAG,\n FEE_AMOUNT_MASK,\n DOPPLER_MAX_TICK_SPACING,\n VALID_FEE_TIERS,\n V3_FEE_TIERS,\n V4_MAX_FEE,\n DECAY_MAX_START_FEE,\n type FeeTier,\n} from './constants';\n\n// Export utility functions (includes MIN_SQRT_RATIO and MAX_SQRT_RATIO from tickMath)\nexport * from './utils';\n\n// Export ABIs\nexport * from './abis';\n"]}
|