@whetstone-research/doppler-sdk 0.0.22 → 0.0.23
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 +74 -0
- package/dist/DopplerSDK.js +25 -24
- package/dist/DopplerSDK.mjs +24 -23
- 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.js +10 -10
- package/dist/abis/index.mjs +5 -5
- package/dist/addresses.d.mts +2 -0
- package/dist/addresses.d.ts +2 -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 +16 -15
- package/dist/builders/DynamicAuctionBuilder.mjs +15 -14
- package/dist/builders/MulticurveBuilder.js +16 -15
- package/dist/builders/MulticurveBuilder.mjs +15 -14
- package/dist/builders/StaticAuctionBuilder.js +16 -15
- package/dist/builders/StaticAuctionBuilder.mjs +15 -14
- package/dist/builders/index.js +24 -23
- package/dist/builders/index.mjs +17 -16
- package/dist/builders/shared.d.mts +1 -1
- package/dist/builders/shared.d.ts +1 -1
- package/dist/builders/shared.js +17 -16
- package/dist/builders/shared.mjs +13 -12
- package/dist/{chunk-AZOBEWP3.mjs → chunk-3NMGCQJ4.mjs} +2 -2
- package/dist/chunk-3NMGCQJ4.mjs.map +1 -0
- package/dist/{chunk-OGYWNJGI.js → chunk-5TQOT6CW.js} +2 -2
- package/dist/chunk-5TQOT6CW.js.map +1 -0
- package/dist/{chunk-QQEOKYEX.js → chunk-6UHDSD42.js} +206 -28
- package/dist/chunk-6UHDSD42.js.map +1 -0
- package/dist/{chunk-5VV7STYK.js → chunk-7CAAI5DL.js} +101 -99
- package/dist/chunk-7CAAI5DL.js.map +1 -0
- package/dist/{chunk-KITPRKQ4.mjs → chunk-7P2SPZC7.mjs} +189 -11
- package/dist/chunk-7P2SPZC7.mjs.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-HJ4AS5DZ.mjs → chunk-C6MH7HYT.mjs} +11 -11
- package/dist/{chunk-HJ4AS5DZ.mjs.map → chunk-C6MH7HYT.mjs.map} +1 -1
- package/dist/{chunk-D7PCIMWU.mjs → chunk-CATH4QRQ.mjs} +3 -3
- package/dist/{chunk-D7PCIMWU.mjs.map → chunk-CATH4QRQ.mjs.map} +1 -1
- package/dist/{chunk-MT34O3YL.js → chunk-CMNJZKTM.js} +24 -24
- package/dist/{chunk-MT34O3YL.js.map → chunk-CMNJZKTM.js.map} +1 -1
- package/dist/chunk-DNB3T5P2.js +269 -0
- package/dist/chunk-DNB3T5P2.js.map +1 -0
- package/dist/chunk-DSYPZETD.js +4 -0
- package/dist/{chunk-WTS75RUC.js.map → chunk-DSYPZETD.js.map} +1 -1
- package/dist/{chunk-3XYDN2XB.js → chunk-EH3V2BJF.js} +12 -12
- package/dist/chunk-EH3V2BJF.js.map +1 -0
- package/dist/{chunk-CS6FVODR.mjs → chunk-EIXUJANI.mjs} +5 -5
- package/dist/chunk-EIXUJANI.mjs.map +1 -0
- package/dist/{chunk-RWVNXU7Z.mjs → chunk-FFV6DMPA.mjs} +3 -3
- package/dist/{chunk-RWVNXU7Z.mjs.map → chunk-FFV6DMPA.mjs.map} +1 -1
- package/dist/{chunk-ZRNPHFP3.mjs → chunk-FLFYAWSS.mjs} +3 -3
- package/dist/{chunk-ZRNPHFP3.mjs.map → chunk-FLFYAWSS.mjs.map} +1 -1
- 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-5WYXNWNH.js → chunk-FTRCBE3J.js} +11 -11
- package/dist/{chunk-5WYXNWNH.js.map → chunk-FTRCBE3J.js.map} +1 -1
- package/dist/{chunk-WKKOBMXR.js → chunk-FZ4FIWCR.js} +5 -5
- package/dist/{chunk-WKKOBMXR.js.map → chunk-FZ4FIWCR.js.map} +1 -1
- package/dist/chunk-GDODJJ7D.mjs +36 -0
- package/dist/chunk-GDODJJ7D.mjs.map +1 -0
- 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-AZH2P4JK.mjs → chunk-GSTY3GO7.mjs} +3 -3
- package/dist/{chunk-AZH2P4JK.mjs.map → chunk-GSTY3GO7.mjs.map} +1 -1
- package/dist/{chunk-INLXNN7P.js → chunk-H7WPK5CR.js} +4 -4
- package/dist/{chunk-INLXNN7P.js.map → chunk-H7WPK5CR.js.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-FVTTG72Z.mjs → chunk-HL7ZAAD4.mjs} +19 -7
- package/dist/chunk-HL7ZAAD4.mjs.map +1 -0
- package/dist/{chunk-2ZM4JVFC.js → chunk-J62YDWIK.js} +2 -2
- package/dist/chunk-J62YDWIK.js.map +1 -0
- package/dist/{chunk-CUB4F546.js → chunk-JB5XXPLL.js} +25 -13
- package/dist/chunk-JB5XXPLL.js.map +1 -0
- package/dist/{chunk-WDSV4O6T.mjs → chunk-OHA5KJ2M.mjs} +2 -2
- package/dist/chunk-OHA5KJ2M.mjs.map +1 -0
- package/dist/{chunk-COOVGAOE.js → chunk-OX5CESVM.js} +13 -13
- package/dist/chunk-OX5CESVM.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-OF7BIKXV.js → chunk-QRTABC4Z.js} +2 -2
- package/dist/chunk-QRTABC4Z.js.map +1 -0
- package/dist/{chunk-O3RH43H3.mjs → chunk-RI6SDMER.mjs} +3 -3
- package/dist/{chunk-O3RH43H3.mjs.map → chunk-RI6SDMER.mjs.map} +1 -1
- package/dist/{chunk-ADAAU4F5.mjs → chunk-RIIVW6TQ.mjs} +5 -3
- package/dist/chunk-RIIVW6TQ.mjs.map +1 -0
- package/dist/{chunk-VK5HAWX6.mjs → chunk-SWWLOD7Q.mjs} +2 -2
- package/dist/chunk-SWWLOD7Q.mjs.map +1 -0
- package/dist/{chunk-3L4DLMOK.js → chunk-TIGHBA37.js} +5 -5
- package/dist/{chunk-3L4DLMOK.js.map → chunk-TIGHBA37.js.map} +1 -1
- package/dist/{chunk-M2EMKIP5.mjs → chunk-TLEVIIUE.mjs} +3 -3
- package/dist/chunk-TLEVIIUE.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-YWK6YH6M.mjs → chunk-VCX6FG3E.mjs} +5 -5
- package/dist/{chunk-YWK6YH6M.mjs.map → chunk-VCX6FG3E.mjs.map} +1 -1
- package/dist/{chunk-64ZQRKG3.mjs → chunk-VYSOAGRU.mjs} +2 -2
- package/dist/chunk-VYSOAGRU.mjs.map +1 -0
- package/dist/chunk-WJBJARLJ.js +38 -0
- package/dist/chunk-WJBJARLJ.js.map +1 -0
- package/dist/{chunk-OROTK4OT.js → chunk-WNUB3UTT.js} +12 -12
- package/dist/chunk-WNUB3UTT.js.map +1 -0
- package/dist/{chunk-SMTHFPBA.js → chunk-XMFOZYNI.js} +2 -2
- package/dist/chunk-XMFOZYNI.js.map +1 -0
- package/dist/chunk-XRYLHTVV.mjs +267 -0
- package/dist/chunk-XRYLHTVV.mjs.map +1 -0
- package/dist/{chunk-S4IZ5ATO.js → chunk-XT3BAM4H.js} +5 -5
- package/dist/{chunk-S4IZ5ATO.js.map → chunk-XT3BAM4H.js.map} +1 -1
- package/dist/{chunk-VGCXJRUV.mjs → chunk-YBK6EBA5.mjs} +10 -10
- package/dist/chunk-YBK6EBA5.mjs.map +1 -0
- package/dist/{chunk-ZDTJ3BPS.js → chunk-YFEPTSI2.js} +11 -11
- package/dist/{chunk-ZDTJ3BPS.js.map → chunk-YFEPTSI2.js.map} +1 -1
- 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 +39 -19
- package/dist/deployments.generated.d.ts +39 -19
- package/dist/deployments.generated.js +2 -2
- package/dist/deployments.generated.mjs +1 -1
- package/dist/entities/DopplerFactory.js +14 -13
- package/dist/entities/DopplerFactory.mjs +13 -12
- package/dist/entities/auction/DynamicAuction.js +9 -9
- package/dist/entities/auction/DynamicAuction.mjs +8 -8
- package/dist/entities/auction/MulticurvePool.js +10 -10
- package/dist/entities/auction/MulticurvePool.mjs +9 -9
- package/dist/entities/auction/StaticAuction.js +9 -9
- package/dist/entities/auction/StaticAuction.mjs +8 -8
- package/dist/entities/auction/index.js +17 -17
- package/dist/entities/auction/index.mjs +11 -11
- package/dist/entities/quoter/Quoter.js +9 -9
- package/dist/entities/quoter/Quoter.mjs +8 -8
- package/dist/entities/quoter/index.js +9 -9
- package/dist/entities/quoter/index.mjs +8 -8
- package/dist/entities/token/derc20/Derc20.js +5 -5
- package/dist/entities/token/derc20/Derc20.mjs +5 -5
- package/dist/entities/token/derc20/index.js +5 -5
- package/dist/entities/token/derc20/index.mjs +5 -5
- package/dist/entities/token/index.js +6 -6
- package/dist/entities/token/index.mjs +6 -6
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +71 -66
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -23
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.mts +30 -2
- package/dist/types.d.ts +30 -2
- 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/dopplerHookMigrator.d.mts +11 -0
- package/dist/utils/dopplerHookMigrator.d.ts +11 -0
- package/dist/utils/dopplerHookMigrator.js +12 -0
- package/dist/utils/dopplerHookMigrator.js.map +1 -0
- package/dist/utils/dopplerHookMigrator.mjs +3 -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 +36 -31
- package/dist/utils/index.mjs +12 -11
- package/dist/utils/marketCapHelpers.js +13 -13
- package/dist/utils/marketCapHelpers.mjs +1 -1
- package/dist/utils/tokenAddressMiner.js +7 -7
- package/dist/utils/tokenAddressMiner.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunk-2ZM4JVFC.js.map +0 -1
- 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-FVTTG72Z.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-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 +0 -247
- package/dist/chunk-QFQXHDC7.mjs.map +0 -1
- package/dist/chunk-QQEOKYEX.js.map +0 -1
- package/dist/chunk-RLUMYHPI.js +0 -249
- package/dist/chunk-RLUMYHPI.js.map +0 -1
- 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-WTS75RUC.js +0 -4
package/dist/index.js
CHANGED
|
@@ -1,55 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCMNJZKTM_js = require('./chunk-CMNJZKTM.js');
|
|
4
4
|
require('./chunk-3PNCB4W5.js');
|
|
5
|
+
var chunkTIGHBA37_js = require('./chunk-TIGHBA37.js');
|
|
5
6
|
require('./chunk-P7CHGWY7.js');
|
|
6
|
-
var
|
|
7
|
+
var chunkYFEPTSI2_js = require('./chunk-YFEPTSI2.js');
|
|
7
8
|
require('./chunk-WQHTNL5L.js');
|
|
9
|
+
require('./chunk-VEIVYUYF.js');
|
|
8
10
|
require('./chunk-X3UMAHOJ.js');
|
|
9
11
|
var chunkRXUJ4DUB_js = require('./chunk-RXUJ4DUB.js');
|
|
10
|
-
require('./chunk-VEIVYUYF.js');
|
|
11
12
|
var chunkYYLD3AJ7_js = require('./chunk-YYLD3AJ7.js');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var chunk3L4DLMOK_js = require('./chunk-3L4DLMOK.js');
|
|
13
|
+
var chunkH7WPK5CR_js = require('./chunk-H7WPK5CR.js');
|
|
14
|
+
var chunkFZ4FIWCR_js = require('./chunk-FZ4FIWCR.js');
|
|
15
15
|
require('./chunk-JIKAD4YL.js');
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
16
|
+
var chunkJB5XXPLL_js = require('./chunk-JB5XXPLL.js');
|
|
17
|
+
var chunkEH3V2BJF_js = require('./chunk-EH3V2BJF.js');
|
|
18
|
+
var chunkFTRCBE3J_js = require('./chunk-FTRCBE3J.js');
|
|
19
|
+
require('./chunk-HJFVRV47.js');
|
|
20
|
+
var chunk6UHDSD42_js = require('./chunk-6UHDSD42.js');
|
|
21
|
+
require('./chunk-DSYPZETD.js');
|
|
22
|
+
var chunkWNUB3UTT_js = require('./chunk-WNUB3UTT.js');
|
|
22
23
|
var chunkUPVKABAV_js = require('./chunk-UPVKABAV.js');
|
|
23
|
-
var
|
|
24
|
+
var chunkWJBJARLJ_js = require('./chunk-WJBJARLJ.js');
|
|
25
|
+
var chunkFNUBKONK_js = require('./chunk-FNUBKONK.js');
|
|
24
26
|
var chunk6H6X3VTZ_js = require('./chunk-6H6X3VTZ.js');
|
|
25
27
|
var chunk7M57PU6V_js = require('./chunk-7M57PU6V.js');
|
|
26
28
|
var chunkKHUE77HC_js = require('./chunk-KHUE77HC.js');
|
|
27
29
|
var chunk4VWQNNNW_js = require('./chunk-4VWQNNNW.js');
|
|
28
|
-
var
|
|
29
|
-
var chunkS4IZ5ATO_js = require('./chunk-S4IZ5ATO.js');
|
|
30
|
+
var chunkXT3BAM4H_js = require('./chunk-XT3BAM4H.js');
|
|
30
31
|
var chunkXSJTASPK_js = require('./chunk-XSJTASPK.js');
|
|
31
32
|
var chunk6BQY5EPB_js = require('./chunk-6BQY5EPB.js');
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
require('./chunk-
|
|
33
|
+
var chunkOX5CESVM_js = require('./chunk-OX5CESVM.js');
|
|
34
|
+
var chunk7CAAI5DL_js = require('./chunk-7CAAI5DL.js');
|
|
35
|
+
require('./chunk-DNB3T5P2.js');
|
|
35
36
|
var chunk3MVW6UIW_js = require('./chunk-3MVW6UIW.js');
|
|
36
37
|
require('./chunk-4XN6DQBW.js');
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
38
|
+
var chunkQRTABC4Z_js = require('./chunk-QRTABC4Z.js');
|
|
39
|
+
var chunkJ62YDWIK_js = require('./chunk-J62YDWIK.js');
|
|
40
|
+
var chunkXMFOZYNI_js = require('./chunk-XMFOZYNI.js');
|
|
41
|
+
var chunkQAPQGDWK_js = require('./chunk-QAPQGDWK.js');
|
|
42
|
+
var chunk5TQOT6CW_js = require('./chunk-5TQOT6CW.js');
|
|
42
43
|
|
|
43
44
|
// src/index.ts
|
|
44
45
|
var VERSION = "0.0.1";
|
|
45
46
|
|
|
46
47
|
Object.defineProperty(exports, "DopplerSDK", {
|
|
47
48
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkCMNJZKTM_js.DopplerSDK; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "StaticAuction", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkTIGHBA37_js.StaticAuction; }
|
|
49
54
|
});
|
|
50
55
|
Object.defineProperty(exports, "Quoter", {
|
|
51
56
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkYFEPTSI2_js.Quoter; }
|
|
53
58
|
});
|
|
54
59
|
Object.defineProperty(exports, "Derc20", {
|
|
55
60
|
enumerable: true,
|
|
@@ -61,83 +66,87 @@ Object.defineProperty(exports, "Eth", {
|
|
|
61
66
|
});
|
|
62
67
|
Object.defineProperty(exports, "DynamicAuction", {
|
|
63
68
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkH7WPK5CR_js.DynamicAuction; }
|
|
65
70
|
});
|
|
66
71
|
Object.defineProperty(exports, "MulticurvePool", {
|
|
67
72
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
69
|
-
});
|
|
70
|
-
Object.defineProperty(exports, "StaticAuction", {
|
|
71
|
-
enumerable: true,
|
|
72
|
-
get: function () { return chunk3L4DLMOK_js.StaticAuction; }
|
|
73
|
+
get: function () { return chunkFZ4FIWCR_js.MulticurvePool; }
|
|
73
74
|
});
|
|
74
75
|
Object.defineProperty(exports, "DynamicAuctionBuilder", {
|
|
75
76
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkJB5XXPLL_js.DynamicAuctionBuilder; }
|
|
77
78
|
});
|
|
78
79
|
Object.defineProperty(exports, "MulticurveBuilder", {
|
|
79
80
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkEH3V2BJF_js.MulticurveBuilder; }
|
|
81
82
|
});
|
|
82
83
|
Object.defineProperty(exports, "StaticAuctionBuilder", {
|
|
83
84
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkFTRCBE3J_js.StaticAuctionBuilder; }
|
|
85
86
|
});
|
|
86
87
|
Object.defineProperty(exports, "DopplerFactory", {
|
|
87
88
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk6UHDSD42_js.DopplerFactory; }
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(exports, "mineTokenAddress", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () { return chunkWNUB3UTT_js.mineTokenAddress; }
|
|
89
94
|
});
|
|
90
95
|
Object.defineProperty(exports, "computeOptimalGamma", {
|
|
91
96
|
enumerable: true,
|
|
92
97
|
get: function () { return chunkUPVKABAV_js.computeOptimalGamma; }
|
|
93
98
|
});
|
|
99
|
+
Object.defineProperty(exports, "encodeRehypeDopplerHookMigratorCalldata", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return chunkWJBJARLJ_js.encodeRehypeDopplerHookMigratorCalldata; }
|
|
102
|
+
});
|
|
94
103
|
Object.defineProperty(exports, "applyTickOffsets", {
|
|
95
104
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkFNUBKONK_js.applyTickOffsets; }
|
|
97
106
|
});
|
|
98
107
|
Object.defineProperty(exports, "getMaxTickRounded", {
|
|
99
108
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkFNUBKONK_js.getMaxTickRounded; }
|
|
101
110
|
});
|
|
102
111
|
Object.defineProperty(exports, "isToken1", {
|
|
103
112
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkFNUBKONK_js.isToken1; }
|
|
105
114
|
});
|
|
106
115
|
Object.defineProperty(exports, "marketCapToTickForMulticurve", {
|
|
107
116
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTickForMulticurve; }
|
|
109
118
|
});
|
|
110
119
|
Object.defineProperty(exports, "marketCapToTicksForDynamicAuction", {
|
|
111
120
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTicksForDynamicAuction; }
|
|
113
122
|
});
|
|
114
123
|
Object.defineProperty(exports, "marketCapToTicksForMulticurve", {
|
|
115
124
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTicksForMulticurve; }
|
|
117
126
|
});
|
|
118
127
|
Object.defineProperty(exports, "marketCapToTicksForStaticAuction", {
|
|
119
128
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTicksForStaticAuction; }
|
|
121
130
|
});
|
|
122
131
|
Object.defineProperty(exports, "marketCapToTokenPrice", {
|
|
123
132
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkFNUBKONK_js.marketCapToTokenPrice; }
|
|
125
134
|
});
|
|
126
135
|
Object.defineProperty(exports, "ratioToTick", {
|
|
127
136
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkFNUBKONK_js.ratioToTick; }
|
|
129
138
|
});
|
|
130
139
|
Object.defineProperty(exports, "tickToMarketCap", {
|
|
131
140
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkFNUBKONK_js.tickToMarketCap; }
|
|
133
142
|
});
|
|
134
143
|
Object.defineProperty(exports, "tokenPriceToRatio", {
|
|
135
144
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkFNUBKONK_js.tokenPriceToRatio; }
|
|
137
146
|
});
|
|
138
147
|
Object.defineProperty(exports, "validateMarketCapParameters", {
|
|
139
148
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkFNUBKONK_js.validateMarketCapParameters; }
|
|
141
150
|
});
|
|
142
151
|
Object.defineProperty(exports, "isToken0Expected", {
|
|
143
152
|
enumerable: true,
|
|
@@ -227,25 +236,21 @@ Object.defineProperty(exports, "tickToPrice", {
|
|
|
227
236
|
enumerable: true,
|
|
228
237
|
get: function () { return chunk4VWQNNNW_js.tickToPrice; }
|
|
229
238
|
});
|
|
230
|
-
Object.defineProperty(exports, "mineTokenAddress", {
|
|
231
|
-
enumerable: true,
|
|
232
|
-
get: function () { return chunkOROTK4OT_js.mineTokenAddress; }
|
|
233
|
-
});
|
|
234
239
|
Object.defineProperty(exports, "DEFAULT_AIRLOCK_BENEFICIARY_SHARES", {
|
|
235
240
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkXT3BAM4H_js.DEFAULT_AIRLOCK_BENEFICIARY_SHARES; }
|
|
237
242
|
});
|
|
238
243
|
Object.defineProperty(exports, "createAirlockBeneficiary", {
|
|
239
244
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkXT3BAM4H_js.createAirlockBeneficiary; }
|
|
241
246
|
});
|
|
242
247
|
Object.defineProperty(exports, "getAirlockBeneficiary", {
|
|
243
248
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkXT3BAM4H_js.getAirlockBeneficiary; }
|
|
245
250
|
});
|
|
246
251
|
Object.defineProperty(exports, "getAirlockOwner", {
|
|
247
252
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkXT3BAM4H_js.getAirlockOwner; }
|
|
249
254
|
});
|
|
250
255
|
Object.defineProperty(exports, "decodeBalanceDelta", {
|
|
251
256
|
enumerable: true,
|
|
@@ -425,27 +430,27 @@ Object.defineProperty(exports, "ZERO_ADDRESS", {
|
|
|
425
430
|
});
|
|
426
431
|
Object.defineProperty(exports, "LockablePoolStatus", {
|
|
427
432
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
433
|
+
get: function () { return chunkOX5CESVM_js.LockablePoolStatus; }
|
|
429
434
|
});
|
|
430
435
|
Object.defineProperty(exports, "ADDRESSES", {
|
|
431
436
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
437
|
+
get: function () { return chunk7CAAI5DL_js.ADDRESSES; }
|
|
433
438
|
});
|
|
434
439
|
Object.defineProperty(exports, "CHAIN_IDS", {
|
|
435
440
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunk7CAAI5DL_js.CHAIN_IDS; }
|
|
437
442
|
});
|
|
438
443
|
Object.defineProperty(exports, "SUPPORTED_CHAIN_IDS", {
|
|
439
444
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunk7CAAI5DL_js.SUPPORTED_CHAIN_IDS; }
|
|
441
446
|
});
|
|
442
447
|
Object.defineProperty(exports, "getAddresses", {
|
|
443
448
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
449
|
+
get: function () { return chunk7CAAI5DL_js.getAddresses; }
|
|
445
450
|
});
|
|
446
451
|
Object.defineProperty(exports, "isSupportedChainId", {
|
|
447
452
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
453
|
+
get: function () { return chunk7CAAI5DL_js.isSupportedChainId; }
|
|
449
454
|
});
|
|
450
455
|
Object.defineProperty(exports, "airlockAbi", {
|
|
451
456
|
enumerable: true,
|
|
@@ -537,23 +542,23 @@ Object.defineProperty(exports, "weth9Abi", {
|
|
|
537
542
|
});
|
|
538
543
|
Object.defineProperty(exports, "DERC20Bytecode", {
|
|
539
544
|
enumerable: true,
|
|
540
|
-
get: function () { return
|
|
545
|
+
get: function () { return chunkQRTABC4Z_js.derc20_default; }
|
|
541
546
|
});
|
|
542
547
|
Object.defineProperty(exports, "DERC2080Bytecode", {
|
|
543
548
|
enumerable: true,
|
|
544
|
-
get: function () { return
|
|
549
|
+
get: function () { return chunkJ62YDWIK_js.derc2080_default; }
|
|
545
550
|
});
|
|
546
551
|
Object.defineProperty(exports, "DopplerBytecode", {
|
|
547
552
|
enumerable: true,
|
|
548
|
-
get: function () { return
|
|
553
|
+
get: function () { return chunkXMFOZYNI_js.doppler_default; }
|
|
549
554
|
});
|
|
550
555
|
Object.defineProperty(exports, "DopplerDN404Bytecode", {
|
|
551
556
|
enumerable: true,
|
|
552
|
-
get: function () { return
|
|
557
|
+
get: function () { return chunkQAPQGDWK_js.dopplerDN404_default; }
|
|
553
558
|
});
|
|
554
559
|
Object.defineProperty(exports, "StateViewBytecode", {
|
|
555
560
|
enumerable: true,
|
|
556
|
-
get: function () { return
|
|
561
|
+
get: function () { return chunk5TQOT6CW_js.stateView_default; }
|
|
557
562
|
});
|
|
558
563
|
exports.VERSION = VERSION;
|
|
559
564
|
//# 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} 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 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';\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,43 @@
|
|
|
1
|
-
export { DopplerSDK } from './chunk-
|
|
1
|
+
export { DopplerSDK } from './chunk-C6MH7HYT.mjs';
|
|
2
2
|
import './chunk-SD7BHT2F.mjs';
|
|
3
|
+
export { StaticAuction } from './chunk-CATH4QRQ.mjs';
|
|
3
4
|
import './chunk-QSQGLWNY.mjs';
|
|
4
|
-
export { Quoter } from './chunk-
|
|
5
|
+
export { Quoter } from './chunk-FFV6DMPA.mjs';
|
|
5
6
|
import './chunk-FOESYJP3.mjs';
|
|
7
|
+
import './chunk-XNMXN5SZ.mjs';
|
|
6
8
|
import './chunk-RV64M4Q6.mjs';
|
|
7
9
|
export { Derc20 } from './chunk-QOGBOT2M.mjs';
|
|
8
|
-
import './chunk-XNMXN5SZ.mjs';
|
|
9
10
|
export { Eth } from './chunk-KAZQJ24E.mjs';
|
|
10
|
-
export { DynamicAuction } from './chunk-
|
|
11
|
-
export { MulticurvePool } from './chunk-
|
|
12
|
-
export { StaticAuction } from './chunk-D7PCIMWU.mjs';
|
|
11
|
+
export { DynamicAuction } from './chunk-RI6SDMER.mjs';
|
|
12
|
+
export { MulticurvePool } from './chunk-FLFYAWSS.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-
|
|
19
|
-
import './chunk-
|
|
14
|
+
export { DynamicAuctionBuilder } from './chunk-HL7ZAAD4.mjs';
|
|
15
|
+
export { MulticurveBuilder } from './chunk-EIXUJANI.mjs';
|
|
16
|
+
export { StaticAuctionBuilder } from './chunk-VCX6FG3E.mjs';
|
|
17
|
+
import './chunk-ZEDJUNC6.mjs';
|
|
18
|
+
export { DopplerFactory } from './chunk-7P2SPZC7.mjs';
|
|
19
|
+
import './chunk-7ZUV6WPX.mjs';
|
|
20
|
+
export { mineTokenAddress } from './chunk-YBK6EBA5.mjs';
|
|
20
21
|
export { computeOptimalGamma } from './chunk-H3B54PFV.mjs';
|
|
21
|
-
export {
|
|
22
|
+
export { encodeRehypeDopplerHookMigratorCalldata } from './chunk-GDODJJ7D.mjs';
|
|
23
|
+
export { applyTickOffsets, getMaxTickRounded, isToken1, marketCapToTickForMulticurve, marketCapToTicksForDynamicAuction, marketCapToTicksForMulticurve, marketCapToTicksForStaticAuction, marketCapToTokenPrice, ratioToTick, tickToMarketCap, tokenPriceToRatio, validateMarketCapParameters } from './chunk-GSBQIVME.mjs';
|
|
22
24
|
export { isToken0Expected } from './chunk-ABT6AT7C.mjs';
|
|
23
25
|
export { computePoolId } from './chunk-CFAAYL5M.mjs';
|
|
24
26
|
export { calculateFDV, calculateGamma, calculateMarketCap, calculateTickRange, calculateTokensToSell, estimatePriceAtEpoch, estimateSlippage, formatTickAsPrice } from './chunk-CWTGQAOG.mjs';
|
|
25
27
|
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';
|
|
28
|
+
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from './chunk-GSTY3GO7.mjs';
|
|
28
29
|
export { decodeBalanceDelta } from './chunk-KOAC3BBP.mjs';
|
|
29
30
|
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-
|
|
31
|
+
export { LockablePoolStatus } from './chunk-TLEVIIUE.mjs';
|
|
32
|
+
export { ADDRESSES, CHAIN_IDS, SUPPORTED_CHAIN_IDS, getAddresses, isSupportedChainId } from './chunk-RIIVW6TQ.mjs';
|
|
33
|
+
import './chunk-XRYLHTVV.mjs';
|
|
33
34
|
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
35
|
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-
|
|
36
|
+
export { derc20_default as DERC20Bytecode } from './chunk-VYSOAGRU.mjs';
|
|
37
|
+
export { derc2080_default as DERC2080Bytecode } from './chunk-U3GOWK6J.mjs';
|
|
38
|
+
export { doppler_default as DopplerBytecode } from './chunk-SWWLOD7Q.mjs';
|
|
39
|
+
export { dopplerDN404_default as DopplerDN404Bytecode } from './chunk-OHA5KJ2M.mjs';
|
|
40
|
+
export { stateView_default as StateViewBytecode } from './chunk-3NMGCQJ4.mjs';
|
|
40
41
|
|
|
41
42
|
// src/index.ts
|
|
42
43
|
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} 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 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';\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/types.d.mts
CHANGED
|
@@ -105,6 +105,32 @@ interface MulticurvePoolState {
|
|
|
105
105
|
poolKey: V4PoolKey;
|
|
106
106
|
farTick: number;
|
|
107
107
|
}
|
|
108
|
+
interface RehypeDopplerHookMigratorConfig {
|
|
109
|
+
hookAddress?: Address;
|
|
110
|
+
buybackDestination: Address;
|
|
111
|
+
customFee: number;
|
|
112
|
+
assetBuybackPercentWad: bigint;
|
|
113
|
+
numeraireBuybackPercentWad: bigint;
|
|
114
|
+
beneficiaryPercentWad: bigint;
|
|
115
|
+
lpPercentWad: bigint;
|
|
116
|
+
}
|
|
117
|
+
interface DopplerHookMigrationConfig {
|
|
118
|
+
type: 'dopplerHook';
|
|
119
|
+
fee: number;
|
|
120
|
+
useDynamicFee?: boolean;
|
|
121
|
+
tickSpacing: number;
|
|
122
|
+
lockDuration: number;
|
|
123
|
+
beneficiaries: BeneficiaryData[];
|
|
124
|
+
hook?: {
|
|
125
|
+
hookAddress: Address;
|
|
126
|
+
onInitializationCalldata?: `0x${string}`;
|
|
127
|
+
};
|
|
128
|
+
rehype?: RehypeDopplerHookMigratorConfig;
|
|
129
|
+
proceedsSplit?: {
|
|
130
|
+
recipient: Address;
|
|
131
|
+
share: bigint;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
108
134
|
type MigrationConfig = {
|
|
109
135
|
type: 'uniswapV2';
|
|
110
136
|
} | {
|
|
@@ -115,7 +141,7 @@ type MigrationConfig = {
|
|
|
115
141
|
lockDuration: number;
|
|
116
142
|
beneficiaries: BeneficiaryData[];
|
|
117
143
|
};
|
|
118
|
-
} | {
|
|
144
|
+
} | DopplerHookMigrationConfig | {
|
|
119
145
|
type: 'noOp';
|
|
120
146
|
};
|
|
121
147
|
interface CreateStaticAuctionParams<C extends SupportedChainId = SupportedChainId> {
|
|
@@ -573,7 +599,9 @@ interface ModuleAddressOverrides {
|
|
|
573
599
|
dopplerDeployer?: Address;
|
|
574
600
|
v2Migrator?: Address;
|
|
575
601
|
v4Migrator?: Address;
|
|
602
|
+
dopplerHookMigrator?: Address;
|
|
603
|
+
rehypeDopplerHookMigrator?: Address;
|
|
576
604
|
noOpMigrator?: Address;
|
|
577
605
|
}
|
|
578
606
|
|
|
579
|
-
export { type BeneficiaryData, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateParams, type CreateStaticAuctionParams, type Doppler404TokenConfig, type DopplerSDKConfig, type DynamicAuctionBuildConfig, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicAuctionTickParams, type DynamicMarketCapRange, type GovernanceCustom, type GovernanceDefault, type GovernanceLaunchpad, type GovernanceNoOp, type GovernanceOption, type HookInfo, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type ModuleAddressOverrides, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveCurve, type MulticurveDecayFeeSchedule, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurvePoolState, type MulticurveTickParams, type MulticurveTickRangeParams, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, type PoolInfo, type PriceRange, type QuoteResult, type RehypeDopplerHookConfig, type SaleConfig, type StandardTokenConfig, type StaticAuctionBuildConfig, type StaticAuctionMarketCapConfig, type StaticAuctionTickParams, type StaticPoolConfig, type SupportedChain, SupportedChainId, type SupportedPublicClient, type TickRange, type TickToMarketCapParams, type TokenConfig, type V4PoolKey, type VestingConfig, isLaunchpadEnabledChain, isNoOpEnabledChain };
|
|
607
|
+
export { type BeneficiaryData, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateParams, type CreateStaticAuctionParams, type Doppler404TokenConfig, type DopplerHookMigrationConfig, type DopplerSDKConfig, type DynamicAuctionBuildConfig, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicAuctionTickParams, type DynamicMarketCapRange, type GovernanceCustom, type GovernanceDefault, type GovernanceLaunchpad, type GovernanceNoOp, type GovernanceOption, type HookInfo, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type ModuleAddressOverrides, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveCurve, type MulticurveDecayFeeSchedule, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurvePoolState, type MulticurveTickParams, type MulticurveTickRangeParams, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, type PoolInfo, type PriceRange, type QuoteResult, type RehypeDopplerHookConfig, type RehypeDopplerHookMigratorConfig, type SaleConfig, type StandardTokenConfig, type StaticAuctionBuildConfig, type StaticAuctionMarketCapConfig, type StaticAuctionTickParams, type StaticPoolConfig, type SupportedChain, SupportedChainId, type SupportedPublicClient, type TickRange, type TickToMarketCapParams, type TokenConfig, type V4PoolKey, type VestingConfig, isLaunchpadEnabledChain, isNoOpEnabledChain };
|
package/dist/types.d.ts
CHANGED
|
@@ -105,6 +105,32 @@ interface MulticurvePoolState {
|
|
|
105
105
|
poolKey: V4PoolKey;
|
|
106
106
|
farTick: number;
|
|
107
107
|
}
|
|
108
|
+
interface RehypeDopplerHookMigratorConfig {
|
|
109
|
+
hookAddress?: Address;
|
|
110
|
+
buybackDestination: Address;
|
|
111
|
+
customFee: number;
|
|
112
|
+
assetBuybackPercentWad: bigint;
|
|
113
|
+
numeraireBuybackPercentWad: bigint;
|
|
114
|
+
beneficiaryPercentWad: bigint;
|
|
115
|
+
lpPercentWad: bigint;
|
|
116
|
+
}
|
|
117
|
+
interface DopplerHookMigrationConfig {
|
|
118
|
+
type: 'dopplerHook';
|
|
119
|
+
fee: number;
|
|
120
|
+
useDynamicFee?: boolean;
|
|
121
|
+
tickSpacing: number;
|
|
122
|
+
lockDuration: number;
|
|
123
|
+
beneficiaries: BeneficiaryData[];
|
|
124
|
+
hook?: {
|
|
125
|
+
hookAddress: Address;
|
|
126
|
+
onInitializationCalldata?: `0x${string}`;
|
|
127
|
+
};
|
|
128
|
+
rehype?: RehypeDopplerHookMigratorConfig;
|
|
129
|
+
proceedsSplit?: {
|
|
130
|
+
recipient: Address;
|
|
131
|
+
share: bigint;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
108
134
|
type MigrationConfig = {
|
|
109
135
|
type: 'uniswapV2';
|
|
110
136
|
} | {
|
|
@@ -115,7 +141,7 @@ type MigrationConfig = {
|
|
|
115
141
|
lockDuration: number;
|
|
116
142
|
beneficiaries: BeneficiaryData[];
|
|
117
143
|
};
|
|
118
|
-
} | {
|
|
144
|
+
} | DopplerHookMigrationConfig | {
|
|
119
145
|
type: 'noOp';
|
|
120
146
|
};
|
|
121
147
|
interface CreateStaticAuctionParams<C extends SupportedChainId = SupportedChainId> {
|
|
@@ -573,7 +599,9 @@ interface ModuleAddressOverrides {
|
|
|
573
599
|
dopplerDeployer?: Address;
|
|
574
600
|
v2Migrator?: Address;
|
|
575
601
|
v4Migrator?: Address;
|
|
602
|
+
dopplerHookMigrator?: Address;
|
|
603
|
+
rehypeDopplerHookMigrator?: Address;
|
|
576
604
|
noOpMigrator?: Address;
|
|
577
605
|
}
|
|
578
606
|
|
|
579
|
-
export { type BeneficiaryData, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateParams, type CreateStaticAuctionParams, type Doppler404TokenConfig, type DopplerSDKConfig, type DynamicAuctionBuildConfig, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicAuctionTickParams, type DynamicMarketCapRange, type GovernanceCustom, type GovernanceDefault, type GovernanceLaunchpad, type GovernanceNoOp, type GovernanceOption, type HookInfo, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type ModuleAddressOverrides, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveCurve, type MulticurveDecayFeeSchedule, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurvePoolState, type MulticurveTickParams, type MulticurveTickRangeParams, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, type PoolInfo, type PriceRange, type QuoteResult, type RehypeDopplerHookConfig, type SaleConfig, type StandardTokenConfig, type StaticAuctionBuildConfig, type StaticAuctionMarketCapConfig, type StaticAuctionTickParams, type StaticPoolConfig, type SupportedChain, SupportedChainId, type SupportedPublicClient, type TickRange, type TickToMarketCapParams, type TokenConfig, type V4PoolKey, type VestingConfig, isLaunchpadEnabledChain, isNoOpEnabledChain };
|
|
607
|
+
export { type BeneficiaryData, type CreateDynamicAuctionParams, type CreateMulticurveParams, type CreateParams, type CreateStaticAuctionParams, type Doppler404TokenConfig, type DopplerHookMigrationConfig, type DopplerSDKConfig, type DynamicAuctionBuildConfig, type DynamicAuctionConfig, type DynamicAuctionMarketCapConfig, type DynamicAuctionTickParams, type DynamicMarketCapRange, type GovernanceCustom, type GovernanceDefault, type GovernanceLaunchpad, type GovernanceNoOp, type GovernanceOption, type HookInfo, LAUNCHPAD_ENABLED_CHAIN_IDS, type LaunchpadEnabledChainId, type LockablePoolState, LockablePoolStatus, type LockableV3InitializerParams, type MarketCapConfig, type MarketCapRange, type MarketCapValidationResult, type MigrationConfig, type ModuleAddressOverrides, type MulticurveBundleExactInResult, type MulticurveBundleExactOutResult, type MulticurveCurve, type MulticurveDecayFeeSchedule, type MulticurveInitializerConfig, type MulticurveMarketCapCurvesConfig, type MulticurveMarketCapPreset, type MulticurveMarketCapRangeCurve, type MulticurvePoolState, type MulticurveTickParams, type MulticurveTickRangeParams, NO_OP_ENABLED_CHAIN_IDS, type NoOpEnabledChainId, type PoolInfo, type PriceRange, type QuoteResult, type RehypeDopplerHookConfig, type RehypeDopplerHookMigratorConfig, type SaleConfig, type StandardTokenConfig, type StaticAuctionBuildConfig, type StaticAuctionMarketCapConfig, type StaticAuctionTickParams, type StaticPoolConfig, type SupportedChain, SupportedChainId, type SupportedPublicClient, type TickRange, type TickToMarketCapParams, type TokenConfig, type V4PoolKey, type VestingConfig, isLaunchpadEnabledChain, isNoOpEnabledChain };
|
package/dist/types.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkOX5CESVM_js = require('./chunk-OX5CESVM.js');
|
|
4
|
+
require('./chunk-7CAAI5DL.js');
|
|
5
|
+
require('./chunk-DNB3T5P2.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "LAUNCHPAD_ENABLED_CHAIN_IDS", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkOX5CESVM_js.LAUNCHPAD_ENABLED_CHAIN_IDS; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "LockablePoolStatus", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkOX5CESVM_js.LockablePoolStatus; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "NO_OP_ENABLED_CHAIN_IDS", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkOX5CESVM_js.NO_OP_ENABLED_CHAIN_IDS; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "isLaunchpadEnabledChain", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkOX5CESVM_js.isLaunchpadEnabledChain; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "isNoOpEnabledChain", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkOX5CESVM_js.isNoOpEnabledChain; }
|
|
28
28
|
});
|
|
29
29
|
//# sourceMappingURL=types.js.map
|
|
30
30
|
//# sourceMappingURL=types.js.map
|
package/dist/types.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { LAUNCHPAD_ENABLED_CHAIN_IDS, LockablePoolStatus, NO_OP_ENABLED_CHAIN_IDS, isLaunchpadEnabledChain, isNoOpEnabledChain } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { LAUNCHPAD_ENABLED_CHAIN_IDS, LockablePoolStatus, NO_OP_ENABLED_CHAIN_IDS, isLaunchpadEnabledChain, isNoOpEnabledChain } from './chunk-TLEVIIUE.mjs';
|
|
2
|
+
import './chunk-RIIVW6TQ.mjs';
|
|
3
|
+
import './chunk-XRYLHTVV.mjs';
|
|
4
4
|
//# sourceMappingURL=types.mjs.map
|
|
5
5
|
//# sourceMappingURL=types.mjs.map
|
package/dist/utils/airlock.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkXT3BAM4H_js = require('../chunk-XT3BAM4H.js');
|
|
4
|
+
require('../chunk-7CAAI5DL.js');
|
|
5
|
+
require('../chunk-DNB3T5P2.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "DEFAULT_AIRLOCK_BENEFICIARY_SHARES", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkXT3BAM4H_js.DEFAULT_AIRLOCK_BENEFICIARY_SHARES; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "createAirlockBeneficiary", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkXT3BAM4H_js.createAirlockBeneficiary; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getAirlockBeneficiary", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkXT3BAM4H_js.getAirlockBeneficiary; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getAirlockOwner", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkXT3BAM4H_js.getAirlockOwner; }
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=airlock.js.map
|
|
26
26
|
//# sourceMappingURL=airlock.js.map
|
package/dist/utils/airlock.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_AIRLOCK_BENEFICIARY_SHARES, createAirlockBeneficiary, getAirlockBeneficiary, getAirlockOwner } from '../chunk-GSTY3GO7.mjs';
|
|
2
|
+
import '../chunk-RIIVW6TQ.mjs';
|
|
3
|
+
import '../chunk-XRYLHTVV.mjs';
|
|
4
4
|
//# sourceMappingURL=airlock.mjs.map
|
|
5
5
|
//# sourceMappingURL=airlock.mjs.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Address, Hex } from 'viem';
|
|
2
|
+
import { RehypeDopplerHookMigratorConfig } from '../types.mjs';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../addresses.mjs';
|
|
5
|
+
|
|
6
|
+
declare function encodeRehypeDopplerHookMigratorCalldata(params: {
|
|
7
|
+
numeraire: Address;
|
|
8
|
+
config: RehypeDopplerHookMigratorConfig;
|
|
9
|
+
}): Hex;
|
|
10
|
+
|
|
11
|
+
export { encodeRehypeDopplerHookMigratorCalldata };
|