@whetstone-research/doppler-sdk 0.0.17 → 0.0.19
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 +66 -1
- package/dist/DopplerSDK.js +19 -19
- package/dist/DopplerSDK.mjs +18 -18
- package/dist/abis/index.d.mts +32 -1
- package/dist/abis/index.d.ts +32 -1
- package/dist/abis/index.js +26 -22
- package/dist/abis/index.mjs +1 -1
- package/dist/addresses.d.mts +1 -0
- package/dist/addresses.d.ts +1 -0
- package/dist/addresses.js +7 -7
- package/dist/addresses.mjs +2 -2
- package/dist/builders/DynamicAuctionBuilder.js +10 -10
- package/dist/builders/DynamicAuctionBuilder.mjs +9 -9
- package/dist/builders/MulticurveBuilder.d.mts +16 -0
- package/dist/builders/MulticurveBuilder.d.ts +16 -0
- package/dist/builders/MulticurveBuilder.js +10 -10
- package/dist/builders/MulticurveBuilder.mjs +9 -9
- package/dist/builders/StaticAuctionBuilder.js +10 -10
- package/dist/builders/StaticAuctionBuilder.mjs +9 -9
- package/dist/builders/index.js +18 -18
- package/dist/builders/index.mjs +11 -11
- package/dist/builders/shared.js +11 -11
- package/dist/builders/shared.mjs +7 -7
- package/dist/{chunk-LOVD3NCN.js → chunk-3MVW6UIW.js} +18 -2
- package/dist/chunk-3MVW6UIW.js.map +1 -0
- package/dist/{chunk-DVAQB7TB.mjs → chunk-3NFSMMBF.mjs} +3 -3
- package/dist/{chunk-DVAQB7TB.mjs.map → chunk-3NFSMMBF.mjs.map} +1 -1
- package/dist/{chunk-PBWOCVDZ.mjs → chunk-4TAAZ6W3.mjs} +248 -51
- package/dist/chunk-4TAAZ6W3.mjs.map +1 -0
- package/dist/{chunk-4DUE547M.js → chunk-6BQY5EPB.js} +4 -2
- package/dist/chunk-6BQY5EPB.js.map +1 -0
- package/dist/{chunk-HVM7KZJM.mjs → chunk-6HFZ6XMV.mjs} +4 -4
- package/dist/{chunk-HVM7KZJM.mjs.map → chunk-6HFZ6XMV.mjs.map} +1 -1
- package/dist/{chunk-EG6O2TUX.js → chunk-7Z2UGWE7.js} +26 -26
- package/dist/{chunk-EG6O2TUX.js.map → chunk-7Z2UGWE7.js.map} +1 -1
- package/dist/{chunk-O2DZH23A.mjs → chunk-CYY5IATT.mjs} +9 -5
- package/dist/chunk-CYY5IATT.mjs.map +1 -0
- package/dist/{chunk-BZKX3J3R.mjs → chunk-E2NF4AQB.mjs} +18 -3
- package/dist/chunk-E2NF4AQB.mjs.map +1 -0
- package/dist/{chunk-B4B7BXLI.js → chunk-E6ACC5S6.js} +24 -24
- package/dist/{chunk-B4B7BXLI.js.map → chunk-E6ACC5S6.js.map} +1 -1
- package/dist/{chunk-K5CV3MIH.mjs → chunk-FQ3PVXZU.mjs} +5 -5
- package/dist/{chunk-K5CV3MIH.mjs.map → chunk-FQ3PVXZU.mjs.map} +1 -1
- package/dist/{chunk-WQKBQRBS.mjs → chunk-GCT3IZ3E.mjs} +12 -12
- package/dist/{chunk-WQKBQRBS.mjs.map → chunk-GCT3IZ3E.mjs.map} +1 -1
- package/dist/{chunk-LDZCTC5Q.mjs → chunk-H5SUGQ2C.mjs} +45 -7
- package/dist/chunk-H5SUGQ2C.mjs.map +1 -0
- package/dist/{chunk-PE47QUJV.mjs → chunk-HH7HQ4HC.mjs} +3 -3
- package/dist/{chunk-PE47QUJV.mjs.map → chunk-HH7HQ4HC.mjs.map} +1 -1
- package/dist/{chunk-LXUF7RNX.mjs → chunk-IWJOPXYN.mjs} +4 -3
- package/dist/chunk-IWJOPXYN.mjs.map +1 -0
- package/dist/{chunk-MBOKYN2Y.js → chunk-K3TEDYUG.js} +20 -20
- package/dist/{chunk-MBOKYN2Y.js.map → chunk-K3TEDYUG.js.map} +1 -1
- package/dist/{chunk-NVVEUALG.mjs → chunk-MH74WYVZ.mjs} +5 -5
- package/dist/{chunk-NVVEUALG.mjs.map → chunk-MH74WYVZ.mjs.map} +1 -1
- package/dist/{chunk-ZVH7VBH5.mjs → chunk-N74ICDSX.mjs} +118 -20
- package/dist/chunk-N74ICDSX.mjs.map +1 -0
- package/dist/{chunk-C7GN6GPG.js → chunk-OROTK4OT.js} +51 -27
- package/dist/chunk-OROTK4OT.js.map +1 -0
- package/dist/{chunk-Z7ZGPSQF.js → chunk-P4BT5GDO.js} +76 -72
- package/dist/chunk-P4BT5GDO.js.map +1 -0
- package/dist/{chunk-YBDWQTUH.mjs → chunk-QFQXHDC7.mjs} +76 -9
- package/dist/chunk-QFQXHDC7.mjs.map +1 -0
- package/dist/{chunk-RKJ2466C.mjs → chunk-QOGBOT2M.mjs} +3 -3
- package/dist/{chunk-RKJ2466C.mjs.map → chunk-QOGBOT2M.mjs.map} +1 -1
- package/dist/{chunk-3ALNQHGL.js → chunk-RLUMYHPI.js} +76 -9
- package/dist/chunk-RLUMYHPI.js.map +1 -0
- package/dist/{chunk-5FJCRKQ6.js → chunk-RXUJ4DUB.js} +28 -28
- package/dist/{chunk-5FJCRKQ6.js.map → chunk-RXUJ4DUB.js.map} +1 -1
- package/dist/{chunk-MGLI4N4B.js → chunk-SAX7P3MH.js} +22 -22
- package/dist/{chunk-MGLI4N4B.js.map → chunk-SAX7P3MH.js.map} +1 -1
- package/dist/{chunk-3ORKVXQL.js → chunk-TJCMFITE.js} +27 -27
- package/dist/{chunk-3ORKVXQL.js.map → chunk-TJCMFITE.js.map} +1 -1
- package/dist/{chunk-TL7U67CX.js → chunk-UIPSHVT4.js} +11 -11
- package/dist/{chunk-TL7U67CX.js.map → chunk-UIPSHVT4.js.map} +1 -1
- package/dist/{chunk-5ZPBKSNS.mjs → chunk-UY4TVYEU.mjs} +3 -3
- package/dist/{chunk-5ZPBKSNS.mjs.map → chunk-UY4TVYEU.mjs.map} +1 -1
- package/dist/{chunk-PQUS2LCD.js → chunk-UZTVXZP3.js} +16 -16
- package/dist/{chunk-PQUS2LCD.js.map → chunk-UZTVXZP3.js.map} +1 -1
- package/dist/{chunk-HMZEYBFO.mjs → chunk-V32Q2S3U.mjs} +4 -4
- package/dist/{chunk-HMZEYBFO.mjs.map → chunk-V32Q2S3U.mjs.map} +1 -1
- package/dist/{chunk-7F4O7NPS.js → chunk-V5GPJ6S2.js} +26 -26
- package/dist/{chunk-7F4O7NPS.js.map → chunk-V5GPJ6S2.js.map} +1 -1
- package/dist/{chunk-DOWDXOTK.mjs → chunk-VGCXJRUV.mjs} +51 -27
- package/dist/chunk-VGCXJRUV.mjs.map +1 -0
- package/dist/{chunk-J32XSN44.js → chunk-WYRM5BAI.js} +344 -147
- package/dist/chunk-WYRM5BAI.js.map +1 -0
- package/dist/{chunk-OUUFER2X.mjs → chunk-X7FRTHUL.mjs} +4 -4
- package/dist/{chunk-OUUFER2X.mjs.map → chunk-X7FRTHUL.mjs.map} +1 -1
- package/dist/{chunk-E54BP2GN.js → chunk-Y6VZD4C6.js} +53 -15
- package/dist/chunk-Y6VZD4C6.js.map +1 -0
- package/dist/{chunk-5MP6AMPB.js → chunk-YFJUIO2A.js} +132 -34
- package/dist/chunk-YFJUIO2A.js.map +1 -0
- package/dist/{chunk-WHQHXYPB.js → chunk-YKRDFXU3.js} +5 -5
- package/dist/{chunk-WHQHXYPB.js.map → chunk-YKRDFXU3.js.map} +1 -1
- package/dist/constants.d.mts +7 -1
- package/dist/constants.d.ts +7 -1
- package/dist/constants.js +51 -47
- package/dist/constants.mjs +1 -1
- package/dist/deployments.generated.d.mts +72 -5
- package/dist/deployments.generated.d.ts +72 -5
- package/dist/deployments.generated.js +2 -2
- package/dist/deployments.generated.mjs +1 -1
- package/dist/entities/DopplerFactory.d.mts +2 -0
- package/dist/entities/DopplerFactory.d.ts +2 -0
- package/dist/entities/DopplerFactory.js +8 -8
- package/dist/entities/DopplerFactory.mjs +7 -7
- package/dist/entities/auction/DynamicAuction.js +5 -5
- package/dist/entities/auction/DynamicAuction.mjs +4 -4
- package/dist/entities/auction/MulticurvePool.d.mts +9 -3
- package/dist/entities/auction/MulticurvePool.d.ts +9 -3
- package/dist/entities/auction/MulticurvePool.js +7 -6
- package/dist/entities/auction/MulticurvePool.mjs +6 -5
- package/dist/entities/auction/StaticAuction.js +5 -5
- package/dist/entities/auction/StaticAuction.mjs +4 -4
- package/dist/entities/auction/index.js +11 -10
- package/dist/entities/auction/index.mjs +8 -7
- package/dist/entities/quoter/Quoter.js +5 -5
- package/dist/entities/quoter/Quoter.mjs +4 -4
- package/dist/entities/quoter/index.js +5 -5
- package/dist/entities/quoter/index.mjs +4 -4
- package/dist/entities/token/derc20/Derc20.js +3 -3
- package/dist/entities/token/derc20/Derc20.mjs +2 -2
- package/dist/entities/token/derc20/index.js +3 -3
- package/dist/entities/token/derc20/index.mjs +2 -2
- package/dist/entities/token/index.js +3 -3
- package/dist/entities/token/index.mjs +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +110 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.mts +32 -1
- package/dist/types.d.ts +32 -1
- package/dist/types.js +8 -8
- package/dist/types.mjs +3 -3
- package/dist/utils/airlock.js +7 -7
- package/dist/utils/airlock.mjs +3 -3
- package/dist/utils/index.js +10 -10
- package/dist/utils/index.mjs +5 -5
- package/dist/utils/tokenAddressMiner.d.mts +7 -0
- package/dist/utils/tokenAddressMiner.d.ts +7 -0
- package/dist/utils/tokenAddressMiner.js +3 -3
- package/dist/utils/tokenAddressMiner.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3ALNQHGL.js.map +0 -1
- package/dist/chunk-4DUE547M.js.map +0 -1
- package/dist/chunk-5MP6AMPB.js.map +0 -1
- package/dist/chunk-BZKX3J3R.mjs.map +0 -1
- package/dist/chunk-C7GN6GPG.js.map +0 -1
- package/dist/chunk-DOWDXOTK.mjs.map +0 -1
- package/dist/chunk-E54BP2GN.js.map +0 -1
- package/dist/chunk-J32XSN44.js.map +0 -1
- package/dist/chunk-LDZCTC5Q.mjs.map +0 -1
- package/dist/chunk-LOVD3NCN.js.map +0 -1
- package/dist/chunk-LXUF7RNX.mjs.map +0 -1
- package/dist/chunk-O2DZH23A.mjs.map +0 -1
- package/dist/chunk-PBWOCVDZ.mjs.map +0 -1
- package/dist/chunk-YBDWQTUH.mjs.map +0 -1
- package/dist/chunk-Z7ZGPSQF.js.map +0 -1
- package/dist/chunk-ZVH7VBH5.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkV5GPJ6S2_js = require('./chunk-V5GPJ6S2.js');
|
|
4
4
|
require('./chunk-3PNCB4W5.js');
|
|
5
5
|
require('./chunk-P7CHGWY7.js');
|
|
6
|
-
var
|
|
6
|
+
var chunkK3TEDYUG_js = require('./chunk-K3TEDYUG.js');
|
|
7
7
|
require('./chunk-WQHTNL5L.js');
|
|
8
8
|
require('./chunk-X3UMAHOJ.js');
|
|
9
|
-
var
|
|
9
|
+
var chunkRXUJ4DUB_js = require('./chunk-RXUJ4DUB.js');
|
|
10
10
|
require('./chunk-VEIVYUYF.js');
|
|
11
11
|
var chunkYYLD3AJ7_js = require('./chunk-YYLD3AJ7.js');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
var chunk7Z2UGWE7_js = require('./chunk-7Z2UGWE7.js');
|
|
13
|
+
var chunkY6VZD4C6_js = require('./chunk-Y6VZD4C6.js');
|
|
14
|
+
var chunkUZTVXZP3_js = require('./chunk-UZTVXZP3.js');
|
|
15
15
|
require('./chunk-JIKAD4YL.js');
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
20
|
-
var
|
|
16
|
+
var chunkE6ACC5S6_js = require('./chunk-E6ACC5S6.js');
|
|
17
|
+
var chunkYFJUIO2A_js = require('./chunk-YFJUIO2A.js');
|
|
18
|
+
var chunkTJCMFITE_js = require('./chunk-TJCMFITE.js');
|
|
19
|
+
require('./chunk-SAX7P3MH.js');
|
|
20
|
+
var chunkWYRM5BAI_js = require('./chunk-WYRM5BAI.js');
|
|
21
21
|
require('./chunk-WTS75RUC.js');
|
|
22
22
|
var chunkUPVKABAV_js = require('./chunk-UPVKABAV.js');
|
|
23
23
|
var chunkN33R22A2_js = require('./chunk-N33R22A2.js');
|
|
@@ -25,14 +25,14 @@ var chunk6H6X3VTZ_js = require('./chunk-6H6X3VTZ.js');
|
|
|
25
25
|
var chunk7M57PU6V_js = require('./chunk-7M57PU6V.js');
|
|
26
26
|
var chunkKHUE77HC_js = require('./chunk-KHUE77HC.js');
|
|
27
27
|
var chunk4VWQNNNW_js = require('./chunk-4VWQNNNW.js');
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var chunkOROTK4OT_js = require('./chunk-OROTK4OT.js');
|
|
29
|
+
var chunkYKRDFXU3_js = require('./chunk-YKRDFXU3.js');
|
|
30
30
|
var chunkXSJTASPK_js = require('./chunk-XSJTASPK.js');
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
require('./chunk-
|
|
35
|
-
var
|
|
31
|
+
var chunk6BQY5EPB_js = require('./chunk-6BQY5EPB.js');
|
|
32
|
+
var chunkUIPSHVT4_js = require('./chunk-UIPSHVT4.js');
|
|
33
|
+
var chunkP4BT5GDO_js = require('./chunk-P4BT5GDO.js');
|
|
34
|
+
require('./chunk-RLUMYHPI.js');
|
|
35
|
+
var chunk3MVW6UIW_js = require('./chunk-3MVW6UIW.js');
|
|
36
36
|
require('./chunk-4XN6DQBW.js');
|
|
37
37
|
var chunkOF7BIKXV_js = require('./chunk-OF7BIKXV.js');
|
|
38
38
|
var chunk2ZM4JVFC_js = require('./chunk-2ZM4JVFC.js');
|
|
@@ -45,15 +45,15 @@ var VERSION = "0.0.1";
|
|
|
45
45
|
|
|
46
46
|
Object.defineProperty(exports, "DopplerSDK", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkV5GPJ6S2_js.DopplerSDK; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "Quoter", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkK3TEDYUG_js.Quoter; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "Derc20", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkRXUJ4DUB_js.Derc20; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "Eth", {
|
|
59
59
|
enumerable: true,
|
|
@@ -61,31 +61,31 @@ Object.defineProperty(exports, "Eth", {
|
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DynamicAuction", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk7Z2UGWE7_js.DynamicAuction; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "MulticurvePool", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkY6VZD4C6_js.MulticurvePool; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "StaticAuction", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkUZTVXZP3_js.StaticAuction; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "DynamicAuctionBuilder", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkE6ACC5S6_js.DynamicAuctionBuilder; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "MulticurveBuilder", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkYFJUIO2A_js.MulticurveBuilder; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "StaticAuctionBuilder", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkTJCMFITE_js.StaticAuctionBuilder; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "DopplerFactory", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkWYRM5BAI_js.DopplerFactory; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "computeOptimalGamma", {
|
|
91
91
|
enumerable: true,
|
|
@@ -229,23 +229,23 @@ Object.defineProperty(exports, "tickToPrice", {
|
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "mineTokenAddress", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkOROTK4OT_js.mineTokenAddress; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "DEFAULT_AIRLOCK_BENEFICIARY_SHARES", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkYKRDFXU3_js.DEFAULT_AIRLOCK_BENEFICIARY_SHARES; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "createAirlockBeneficiary", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkYKRDFXU3_js.createAirlockBeneficiary; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "getAirlockBeneficiary", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkYKRDFXU3_js.getAirlockBeneficiary; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "getAirlockOwner", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkYKRDFXU3_js.getAirlockOwner; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "decodeBalanceDelta", {
|
|
251
251
|
enumerable: true,
|
|
@@ -253,279 +253,287 @@ Object.defineProperty(exports, "decodeBalanceDelta", {
|
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "BASIS_POINTS", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunk6BQY5EPB_js.BASIS_POINTS; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "DAY_SECONDS", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunk6BQY5EPB_js.DAY_SECONDS; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "DEAD_ADDRESS", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunk6BQY5EPB_js.DEAD_ADDRESS; }
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "DECAY_MAX_START_FEE", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function () { return chunk6BQY5EPB_js.DECAY_MAX_START_FEE; }
|
|
265
269
|
});
|
|
266
270
|
Object.defineProperty(exports, "DEFAULT_AUCTION_DURATION", {
|
|
267
271
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_AUCTION_DURATION; }
|
|
269
273
|
});
|
|
270
274
|
Object.defineProperty(exports, "DEFAULT_EPOCH_LENGTH", {
|
|
271
275
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_EPOCH_LENGTH; }
|
|
273
277
|
});
|
|
274
278
|
Object.defineProperty(exports, "DEFAULT_LOCK_DURATION", {
|
|
275
279
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_LOCK_DURATION; }
|
|
277
281
|
});
|
|
278
282
|
Object.defineProperty(exports, "DEFAULT_MULTICURVE_LOWER_TICKS", {
|
|
279
283
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_MULTICURVE_LOWER_TICKS; }
|
|
281
285
|
});
|
|
282
286
|
Object.defineProperty(exports, "DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES", {
|
|
283
287
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_MULTICURVE_MAX_SUPPLY_SHARES; }
|
|
285
289
|
});
|
|
286
290
|
Object.defineProperty(exports, "DEFAULT_MULTICURVE_NUM_POSITIONS", {
|
|
287
291
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_MULTICURVE_NUM_POSITIONS; }
|
|
289
293
|
});
|
|
290
294
|
Object.defineProperty(exports, "DEFAULT_MULTICURVE_UPPER_TICKS", {
|
|
291
295
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_MULTICURVE_UPPER_TICKS; }
|
|
293
297
|
});
|
|
294
298
|
Object.defineProperty(exports, "DEFAULT_PD_SLUGS", {
|
|
295
299
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_PD_SLUGS; }
|
|
297
301
|
});
|
|
298
302
|
Object.defineProperty(exports, "DEFAULT_V3_END_TICK", {
|
|
299
303
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_END_TICK; }
|
|
301
305
|
});
|
|
302
306
|
Object.defineProperty(exports, "DEFAULT_V3_FEE", {
|
|
303
307
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_FEE; }
|
|
305
309
|
});
|
|
306
310
|
Object.defineProperty(exports, "DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD", {
|
|
307
311
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_INITIAL_PROPOSAL_THRESHOLD; }
|
|
309
313
|
});
|
|
310
314
|
Object.defineProperty(exports, "DEFAULT_V3_INITIAL_SUPPLY", {
|
|
311
315
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_INITIAL_SUPPLY; }
|
|
313
317
|
});
|
|
314
318
|
Object.defineProperty(exports, "DEFAULT_V3_INITIAL_VOTING_DELAY", {
|
|
315
319
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_INITIAL_VOTING_DELAY; }
|
|
317
321
|
});
|
|
318
322
|
Object.defineProperty(exports, "DEFAULT_V3_INITIAL_VOTING_PERIOD", {
|
|
319
323
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_INITIAL_VOTING_PERIOD; }
|
|
321
325
|
});
|
|
322
326
|
Object.defineProperty(exports, "DEFAULT_V3_MAX_SHARE_TO_BE_SOLD", {
|
|
323
327
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_MAX_SHARE_TO_BE_SOLD; }
|
|
325
329
|
});
|
|
326
330
|
Object.defineProperty(exports, "DEFAULT_V3_NUM_POSITIONS", {
|
|
327
331
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_NUM_POSITIONS; }
|
|
329
333
|
});
|
|
330
334
|
Object.defineProperty(exports, "DEFAULT_V3_NUM_TOKENS_TO_SELL", {
|
|
331
335
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_NUM_TOKENS_TO_SELL; }
|
|
333
337
|
});
|
|
334
338
|
Object.defineProperty(exports, "DEFAULT_V3_PRE_MINT", {
|
|
335
339
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_PRE_MINT; }
|
|
337
341
|
});
|
|
338
342
|
Object.defineProperty(exports, "DEFAULT_V3_START_TICK", {
|
|
339
343
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_START_TICK; }
|
|
341
345
|
});
|
|
342
346
|
Object.defineProperty(exports, "DEFAULT_V3_VESTING_DURATION", {
|
|
343
347
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_VESTING_DURATION; }
|
|
345
349
|
});
|
|
346
350
|
Object.defineProperty(exports, "DEFAULT_V3_YEARLY_MINT_RATE", {
|
|
347
351
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V3_YEARLY_MINT_RATE; }
|
|
349
353
|
});
|
|
350
354
|
Object.defineProperty(exports, "DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD", {
|
|
351
355
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V4_INITIAL_PROPOSAL_THRESHOLD; }
|
|
353
357
|
});
|
|
354
358
|
Object.defineProperty(exports, "DEFAULT_V4_INITIAL_VOTING_DELAY", {
|
|
355
359
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V4_INITIAL_VOTING_DELAY; }
|
|
357
361
|
});
|
|
358
362
|
Object.defineProperty(exports, "DEFAULT_V4_INITIAL_VOTING_PERIOD", {
|
|
359
363
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V4_INITIAL_VOTING_PERIOD; }
|
|
361
365
|
});
|
|
362
366
|
Object.defineProperty(exports, "DEFAULT_V4_YEARLY_MINT_RATE", {
|
|
363
367
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunk6BQY5EPB_js.DEFAULT_V4_YEARLY_MINT_RATE; }
|
|
365
369
|
});
|
|
366
370
|
Object.defineProperty(exports, "DOPPLER_FLAGS", {
|
|
367
371
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunk6BQY5EPB_js.DOPPLER_FLAGS; }
|
|
369
373
|
});
|
|
370
374
|
Object.defineProperty(exports, "DOPPLER_MAX_TICK_SPACING", {
|
|
371
375
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunk6BQY5EPB_js.DOPPLER_MAX_TICK_SPACING; }
|
|
373
377
|
});
|
|
374
378
|
Object.defineProperty(exports, "DYNAMIC_FEE_FLAG", {
|
|
375
379
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunk6BQY5EPB_js.DYNAMIC_FEE_FLAG; }
|
|
377
381
|
});
|
|
378
382
|
Object.defineProperty(exports, "FEE_AMOUNT_MASK", {
|
|
379
383
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunk6BQY5EPB_js.FEE_AMOUNT_MASK; }
|
|
381
385
|
});
|
|
382
386
|
Object.defineProperty(exports, "FEE_TIERS", {
|
|
383
387
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunk6BQY5EPB_js.FEE_TIERS; }
|
|
385
389
|
});
|
|
386
390
|
Object.defineProperty(exports, "FLAG_MASK", {
|
|
387
391
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunk6BQY5EPB_js.FLAG_MASK; }
|
|
389
393
|
});
|
|
390
394
|
Object.defineProperty(exports, "SECONDS_PER_DAY", {
|
|
391
395
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunk6BQY5EPB_js.SECONDS_PER_DAY; }
|
|
393
397
|
});
|
|
394
398
|
Object.defineProperty(exports, "SECONDS_PER_YEAR", {
|
|
395
399
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunk6BQY5EPB_js.SECONDS_PER_YEAR; }
|
|
397
401
|
});
|
|
398
402
|
Object.defineProperty(exports, "TICK_SPACINGS", {
|
|
399
403
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunk6BQY5EPB_js.TICK_SPACINGS; }
|
|
401
405
|
});
|
|
402
406
|
Object.defineProperty(exports, "V3_FEE_TIERS", {
|
|
403
407
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunk6BQY5EPB_js.V3_FEE_TIERS; }
|
|
405
409
|
});
|
|
406
410
|
Object.defineProperty(exports, "V4_MAX_FEE", {
|
|
407
411
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunk6BQY5EPB_js.V4_MAX_FEE; }
|
|
409
413
|
});
|
|
410
414
|
Object.defineProperty(exports, "VALID_FEE_TIERS", {
|
|
411
415
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunk6BQY5EPB_js.VALID_FEE_TIERS; }
|
|
413
417
|
});
|
|
414
418
|
Object.defineProperty(exports, "WAD", {
|
|
415
419
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunk6BQY5EPB_js.WAD; }
|
|
417
421
|
});
|
|
418
422
|
Object.defineProperty(exports, "ZERO_ADDRESS", {
|
|
419
423
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
424
|
+
get: function () { return chunk6BQY5EPB_js.ZERO_ADDRESS; }
|
|
421
425
|
});
|
|
422
426
|
Object.defineProperty(exports, "LockablePoolStatus", {
|
|
423
427
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkUIPSHVT4_js.LockablePoolStatus; }
|
|
425
429
|
});
|
|
426
430
|
Object.defineProperty(exports, "ADDRESSES", {
|
|
427
431
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkP4BT5GDO_js.ADDRESSES; }
|
|
429
433
|
});
|
|
430
434
|
Object.defineProperty(exports, "CHAIN_IDS", {
|
|
431
435
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkP4BT5GDO_js.CHAIN_IDS; }
|
|
433
437
|
});
|
|
434
438
|
Object.defineProperty(exports, "SUPPORTED_CHAIN_IDS", {
|
|
435
439
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkP4BT5GDO_js.SUPPORTED_CHAIN_IDS; }
|
|
437
441
|
});
|
|
438
442
|
Object.defineProperty(exports, "getAddresses", {
|
|
439
443
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkP4BT5GDO_js.getAddresses; }
|
|
441
445
|
});
|
|
442
446
|
Object.defineProperty(exports, "isSupportedChainId", {
|
|
443
447
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
448
|
+
get: function () { return chunkP4BT5GDO_js.isSupportedChainId; }
|
|
445
449
|
});
|
|
446
450
|
Object.defineProperty(exports, "airlockAbi", {
|
|
447
451
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunk3MVW6UIW_js.airlockAbi; }
|
|
449
453
|
});
|
|
450
454
|
Object.defineProperty(exports, "bundlerAbi", {
|
|
451
455
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunk3MVW6UIW_js.bundlerAbi; }
|
|
457
|
+
});
|
|
458
|
+
Object.defineProperty(exports, "decayMulticurveInitializerHookAbi", {
|
|
459
|
+
enumerable: true,
|
|
460
|
+
get: function () { return chunk3MVW6UIW_js.decayMulticurveInitializerHookAbi; }
|
|
453
461
|
});
|
|
454
462
|
Object.defineProperty(exports, "derc20Abi", {
|
|
455
463
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
464
|
+
get: function () { return chunk3MVW6UIW_js.derc20Abi; }
|
|
457
465
|
});
|
|
458
466
|
Object.defineProperty(exports, "dopplerHookAbi", {
|
|
459
467
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
468
|
+
get: function () { return chunk3MVW6UIW_js.dopplerHookAbi; }
|
|
461
469
|
});
|
|
462
470
|
Object.defineProperty(exports, "dopplerLensAbi", {
|
|
463
471
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
472
|
+
get: function () { return chunk3MVW6UIW_js.dopplerLensAbi; }
|
|
465
473
|
});
|
|
466
474
|
Object.defineProperty(exports, "lockableUniswapV3InitializerAbi", {
|
|
467
475
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
476
|
+
get: function () { return chunk3MVW6UIW_js.lockableUniswapV3InitializerAbi; }
|
|
469
477
|
});
|
|
470
478
|
Object.defineProperty(exports, "poolManagerAbi", {
|
|
471
479
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
480
|
+
get: function () { return chunk3MVW6UIW_js.poolManagerAbi; }
|
|
473
481
|
});
|
|
474
482
|
Object.defineProperty(exports, "quoterV2Abi", {
|
|
475
483
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
484
|
+
get: function () { return chunk3MVW6UIW_js.quoterV2Abi; }
|
|
477
485
|
});
|
|
478
486
|
Object.defineProperty(exports, "rehypeDopplerHookAbi", {
|
|
479
487
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
488
|
+
get: function () { return chunk3MVW6UIW_js.rehypeDopplerHookAbi; }
|
|
481
489
|
});
|
|
482
490
|
Object.defineProperty(exports, "streamableFeesLockerAbi", {
|
|
483
491
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
492
|
+
get: function () { return chunk3MVW6UIW_js.streamableFeesLockerAbi; }
|
|
485
493
|
});
|
|
486
494
|
Object.defineProperty(exports, "uniswapV2Router02Abi", {
|
|
487
495
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
496
|
+
get: function () { return chunk3MVW6UIW_js.uniswapV2Router02Abi; }
|
|
489
497
|
});
|
|
490
498
|
Object.defineProperty(exports, "uniswapV3InitializerAbi", {
|
|
491
499
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunk3MVW6UIW_js.uniswapV3InitializerAbi; }
|
|
493
501
|
});
|
|
494
502
|
Object.defineProperty(exports, "uniswapV3PoolAbi", {
|
|
495
503
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunk3MVW6UIW_js.uniswapV3PoolAbi; }
|
|
497
505
|
});
|
|
498
506
|
Object.defineProperty(exports, "uniswapV4InitializerAbi", {
|
|
499
507
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
508
|
+
get: function () { return chunk3MVW6UIW_js.uniswapV4InitializerAbi; }
|
|
501
509
|
});
|
|
502
510
|
Object.defineProperty(exports, "v2MigratorAbi", {
|
|
503
511
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunk3MVW6UIW_js.v2MigratorAbi; }
|
|
505
513
|
});
|
|
506
514
|
Object.defineProperty(exports, "v3MigratorAbi", {
|
|
507
515
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunk3MVW6UIW_js.v3MigratorAbi; }
|
|
509
517
|
});
|
|
510
518
|
Object.defineProperty(exports, "v4MigratorAbi", {
|
|
511
519
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunk3MVW6UIW_js.v4MigratorAbi; }
|
|
513
521
|
});
|
|
514
522
|
Object.defineProperty(exports, "v4MulticurveInitializerAbi", {
|
|
515
523
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
524
|
+
get: function () { return chunk3MVW6UIW_js.v4MulticurveInitializerAbi; }
|
|
517
525
|
});
|
|
518
526
|
Object.defineProperty(exports, "v4MulticurveMigratorAbi", {
|
|
519
527
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunk3MVW6UIW_js.v4MulticurveMigratorAbi; }
|
|
521
529
|
});
|
|
522
530
|
Object.defineProperty(exports, "v4QuoterAbi", {
|
|
523
531
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunk3MVW6UIW_js.v4QuoterAbi; }
|
|
525
533
|
});
|
|
526
534
|
Object.defineProperty(exports, "weth9Abi", {
|
|
527
535
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
536
|
+
get: function () { return chunk3MVW6UIW_js.weth9Abi; }
|
|
529
537
|
});
|
|
530
538
|
Object.defineProperty(exports, "DERC20Bytecode", {
|
|
531
539
|
enumerable: true,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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} 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 BeneficiaryData,\n\n // Lockable initializer types\n LockablePoolState,\n LockableV3InitializerParams,\n MulticurvePoolState,\n MulticurveMarketCapPreset,\n\n // DopplerHook types (e.g., RehypeDopplerHook)\n RehypeDopplerHookConfig,\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';\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 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"]}
|
|
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} 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 BeneficiaryData,\n\n // Lockable initializer types\n LockablePoolState,\n LockableV3InitializerParams,\n MulticurvePoolState,\n MulticurveMarketCapPreset,\n\n // DopplerHook types (e.g., RehypeDopplerHook)\n RehypeDopplerHookConfig,\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';\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,21 +1,21 @@
|
|
|
1
|
-
export { DopplerSDK } from './chunk-
|
|
1
|
+
export { DopplerSDK } from './chunk-GCT3IZ3E.mjs';
|
|
2
2
|
import './chunk-SD7BHT2F.mjs';
|
|
3
3
|
import './chunk-QSQGLWNY.mjs';
|
|
4
|
-
export { Quoter } from './chunk-
|
|
4
|
+
export { Quoter } from './chunk-X7FRTHUL.mjs';
|
|
5
5
|
import './chunk-FOESYJP3.mjs';
|
|
6
6
|
import './chunk-RV64M4Q6.mjs';
|
|
7
|
-
export { Derc20 } from './chunk-
|
|
7
|
+
export { Derc20 } from './chunk-QOGBOT2M.mjs';
|
|
8
8
|
import './chunk-XNMXN5SZ.mjs';
|
|
9
9
|
export { Eth } from './chunk-KAZQJ24E.mjs';
|
|
10
|
-
export { DynamicAuction } from './chunk-
|
|
11
|
-
export { MulticurvePool } from './chunk-
|
|
12
|
-
export { StaticAuction } from './chunk-
|
|
10
|
+
export { DynamicAuction } from './chunk-6HFZ6XMV.mjs';
|
|
11
|
+
export { MulticurvePool } from './chunk-H5SUGQ2C.mjs';
|
|
12
|
+
export { StaticAuction } from './chunk-V32Q2S3U.mjs';
|
|
13
13
|
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-
|
|
14
|
+
export { DynamicAuctionBuilder } from './chunk-MH74WYVZ.mjs';
|
|
15
|
+
export { MulticurveBuilder } from './chunk-N74ICDSX.mjs';
|
|
16
|
+
export { StaticAuctionBuilder } from './chunk-FQ3PVXZU.mjs';
|
|
17
|
+
import './chunk-HH7HQ4HC.mjs';
|
|
18
|
+
export { DopplerFactory } from './chunk-4TAAZ6W3.mjs';
|
|
19
19
|
import './chunk-5TL5V6UX.mjs';
|
|
20
20
|
export { computeOptimalGamma } from './chunk-H3B54PFV.mjs';
|
|
21
21
|
export { applyTickOffsets, getMaxTickRounded, isToken1, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, ratioToTick, tickToMarketCap, tokenPriceToRatio, validateMarketCapParameters } from './chunk-MQNSJCAW.mjs';
|
|
@@ -23,14 +23,14 @@ export { isToken0Expected } from './chunk-ABT6AT7C.mjs';
|
|
|
23
23
|
export { computePoolId } from './chunk-CFAAYL5M.mjs';
|
|
24
24
|
export { calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, estimatePriceAtEpoch, estimateSlippage, formatTickAsPrice } from './chunk-CWTGQAOG.mjs';
|
|
25
25
|
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 { mineTokenAddress } from './chunk-
|
|
27
|
-
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from './chunk-
|
|
26
|
+
export { mineTokenAddress } from './chunk-VGCXJRUV.mjs';
|
|
27
|
+
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from './chunk-UY4TVYEU.mjs';
|
|
28
28
|
export { decodeBalanceDelta } from './chunk-KOAC3BBP.mjs';
|
|
29
|
-
export { BASIS_POINTS, DAY_SECONDS, DEAD_ADDRESS, 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-
|
|
30
|
-
export { LockablePoolStatus } from './chunk-
|
|
31
|
-
export { ADDRESSES, CHAIN_IDS, SUPPORTED_CHAIN_IDS, getAddresses, isSupportedChainId } from './chunk-
|
|
32
|
-
import './chunk-
|
|
33
|
-
export { airlockAbi, bundlerAbi, derc20Abi, dopplerHookAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi } from './chunk-
|
|
29
|
+
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-3NFSMMBF.mjs';
|
|
31
|
+
export { ADDRESSES, CHAIN_IDS, SUPPORTED_CHAIN_IDS, getAddresses, isSupportedChainId } from './chunk-CYY5IATT.mjs';
|
|
32
|
+
import './chunk-QFQXHDC7.mjs';
|
|
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-E2NF4AQB.mjs';
|
|
34
34
|
import './chunk-DOUF6NON.mjs';
|
|
35
35
|
export { derc20_default as DERC20Bytecode } from './chunk-64ZQRKG3.mjs';
|
|
36
36
|
export { derc2080_default as DERC2080Bytecode } from './chunk-LPA32BIK.mjs';
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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} 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 BeneficiaryData,\n\n // Lockable initializer types\n LockablePoolState,\n LockableV3InitializerParams,\n MulticurvePoolState,\n MulticurveMarketCapPreset,\n\n // DopplerHook types (e.g., RehypeDopplerHook)\n RehypeDopplerHookConfig,\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';\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 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"]}
|
|
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} 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 BeneficiaryData,\n\n // Lockable initializer types\n LockablePoolState,\n LockableV3InitializerParams,\n MulticurvePoolState,\n MulticurveMarketCapPreset,\n\n // DopplerHook types (e.g., RehypeDopplerHook)\n RehypeDopplerHookConfig,\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';\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"]}
|