@whetstone-research/doppler-sdk 0.0.23 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +556 -229
- package/dist/chunk-3LTCKCJC.js +319 -0
- package/dist/chunk-3LTCKCJC.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +9 -0
- package/dist/{chunk-3PNCB4W5.js.map → chunk-PZ5AY32C.js.map} +1 -1
- package/dist/chunk-RO6R66OM.js +974 -0
- package/dist/chunk-RO6R66OM.js.map +1 -0
- package/dist/evm/index.d.ts +8533 -0
- package/dist/evm/index.js +15055 -0
- package/dist/evm/index.js.map +1 -0
- package/dist/oracle-BSvZ6pxp.d.ts +820 -0
- package/dist/pda-RVIHNLRP.js +4 -0
- package/dist/pda-RVIHNLRP.js.map +1 -0
- package/dist/solana/index.d.ts +2495 -0
- package/dist/solana/index.js +2209 -0
- package/dist/solana/index.js.map +1 -0
- package/dist/solana/react/index.d.ts +1046 -0
- package/dist/solana/react/index.js +1436 -0
- package/dist/solana/react/index.js.map +1 -0
- package/package.json +37 -21
- package/dist/DopplerSDK.d.mts +0 -94
- package/dist/DopplerSDK.d.ts +0 -94
- package/dist/DopplerSDK.js +0 -51
- package/dist/DopplerSDK.js.map +0 -1
- package/dist/DopplerSDK.mjs +0 -42
- package/dist/DopplerSDK.mjs.map +0 -1
- package/dist/abis/bytecodes/derc20.d.mts +0 -3
- package/dist/abis/bytecodes/derc20.d.ts +0 -3
- package/dist/abis/bytecodes/derc20.js +0 -9
- package/dist/abis/bytecodes/derc20.js.map +0 -1
- package/dist/abis/bytecodes/derc20.mjs +0 -3
- package/dist/abis/bytecodes/derc20.mjs.map +0 -1
- package/dist/abis/bytecodes/derc2080.d.mts +0 -3
- package/dist/abis/bytecodes/derc2080.d.ts +0 -3
- package/dist/abis/bytecodes/derc2080.js +0 -9
- package/dist/abis/bytecodes/derc2080.js.map +0 -1
- package/dist/abis/bytecodes/derc2080.mjs +0 -3
- package/dist/abis/bytecodes/derc2080.mjs.map +0 -1
- package/dist/abis/bytecodes/doppler.d.mts +0 -3
- package/dist/abis/bytecodes/doppler.d.ts +0 -3
- package/dist/abis/bytecodes/doppler.js +0 -9
- package/dist/abis/bytecodes/doppler.js.map +0 -1
- package/dist/abis/bytecodes/doppler.mjs +0 -3
- package/dist/abis/bytecodes/doppler.mjs.map +0 -1
- package/dist/abis/bytecodes/dopplerDN404.d.mts +0 -3
- package/dist/abis/bytecodes/dopplerDN404.d.ts +0 -3
- package/dist/abis/bytecodes/dopplerDN404.js +0 -9
- package/dist/abis/bytecodes/dopplerDN404.js.map +0 -1
- package/dist/abis/bytecodes/dopplerDN404.mjs +0 -3
- package/dist/abis/bytecodes/dopplerDN404.mjs.map +0 -1
- package/dist/abis/bytecodes/stateView.d.mts +0 -3
- package/dist/abis/bytecodes/stateView.d.ts +0 -3
- package/dist/abis/bytecodes/stateView.js +0 -9
- package/dist/abis/bytecodes/stateView.js.map +0 -1
- package/dist/abis/bytecodes/stateView.mjs +0 -3
- package/dist/abis/bytecodes/stateView.mjs.map +0 -1
- package/dist/abis/bytecodes.d.mts +0 -5
- package/dist/abis/bytecodes.d.ts +0 -5
- package/dist/abis/bytecodes.js +0 -33
- package/dist/abis/bytecodes.js.map +0 -1
- package/dist/abis/bytecodes.mjs +0 -8
- package/dist/abis/bytecodes.mjs.map +0 -1
- package/dist/abis/index.d.mts +0 -3460
- package/dist/abis/index.d.ts +0 -3460
- package/dist/abis/index.js +0 -122
- package/dist/abis/index.js.map +0 -1
- package/dist/abis/index.mjs +0 -9
- package/dist/abis/index.mjs.map +0 -1
- package/dist/addresses.d.mts +0 -65
- package/dist/addresses.d.ts +0 -65
- package/dist/addresses.js +0 -29
- package/dist/addresses.js.map +0 -1
- package/dist/addresses.mjs +0 -4
- package/dist/addresses.mjs.map +0 -1
- package/dist/builders/DynamicAuctionBuilder.d.mts +0 -138
- package/dist/builders/DynamicAuctionBuilder.d.ts +0 -138
- package/dist/builders/DynamicAuctionBuilder.js +0 -35
- package/dist/builders/DynamicAuctionBuilder.js.map +0 -1
- package/dist/builders/DynamicAuctionBuilder.mjs +0 -26
- package/dist/builders/DynamicAuctionBuilder.mjs.map +0 -1
- package/dist/builders/MulticurveBuilder.d.mts +0 -183
- package/dist/builders/MulticurveBuilder.d.ts +0 -183
- package/dist/builders/MulticurveBuilder.js +0 -35
- package/dist/builders/MulticurveBuilder.js.map +0 -1
- package/dist/builders/MulticurveBuilder.mjs +0 -26
- package/dist/builders/MulticurveBuilder.mjs.map +0 -1
- package/dist/builders/StaticAuctionBuilder.d.mts +0 -131
- package/dist/builders/StaticAuctionBuilder.d.ts +0 -131
- package/dist/builders/StaticAuctionBuilder.js +0 -35
- package/dist/builders/StaticAuctionBuilder.js.map +0 -1
- package/dist/builders/StaticAuctionBuilder.mjs +0 -26
- package/dist/builders/StaticAuctionBuilder.mjs.map +0 -1
- package/dist/builders/index.d.mts +0 -8
- package/dist/builders/index.d.ts +0 -8
- package/dist/builders/index.js +0 -62
- package/dist/builders/index.js.map +0 -1
- package/dist/builders/index.mjs +0 -29
- package/dist/builders/index.mjs.map +0 -1
- package/dist/builders/shared.d.mts +0 -115
- package/dist/builders/shared.d.ts +0 -115
- package/dist/builders/shared.js +0 -45
- package/dist/builders/shared.js.map +0 -1
- package/dist/builders/shared.mjs +0 -24
- package/dist/builders/shared.mjs.map +0 -1
- package/dist/chunk-25GEBO3B.mjs +0 -219
- package/dist/chunk-25GEBO3B.mjs.map +0 -1
- package/dist/chunk-3MVW6UIW.js +0 -2294
- package/dist/chunk-3MVW6UIW.js.map +0 -1
- package/dist/chunk-3NMGCQJ4.mjs +0 -6
- package/dist/chunk-3NMGCQJ4.mjs.map +0 -1
- package/dist/chunk-3PNCB4W5.js +0 -4
- package/dist/chunk-4VWQNNNW.js +0 -233
- package/dist/chunk-4VWQNNNW.js.map +0 -1
- package/dist/chunk-4XN6DQBW.js +0 -4
- package/dist/chunk-4XN6DQBW.js.map +0 -1
- package/dist/chunk-5TQOT6CW.js +0 -8
- package/dist/chunk-5TQOT6CW.js.map +0 -1
- package/dist/chunk-6BQY5EPB.js +0 -144
- package/dist/chunk-6BQY5EPB.js.map +0 -1
- package/dist/chunk-6H6X3VTZ.js +0 -18
- package/dist/chunk-6H6X3VTZ.js.map +0 -1
- package/dist/chunk-6UHDSD42.js +0 -2585
- package/dist/chunk-6UHDSD42.js.map +0 -1
- package/dist/chunk-7CAAI5DL.js +0 -273
- package/dist/chunk-7CAAI5DL.js.map +0 -1
- package/dist/chunk-7M57PU6V.js +0 -28
- package/dist/chunk-7M57PU6V.js.map +0 -1
- package/dist/chunk-7P2SPZC7.mjs +0 -2583
- package/dist/chunk-7P2SPZC7.mjs.map +0 -1
- package/dist/chunk-7ZUV6WPX.mjs +0 -3
- package/dist/chunk-7ZUV6WPX.mjs.map +0 -1
- package/dist/chunk-ABT6AT7C.mjs +0 -16
- package/dist/chunk-ABT6AT7C.mjs.map +0 -1
- package/dist/chunk-C6MH7HYT.mjs +0 -138
- package/dist/chunk-C6MH7HYT.mjs.map +0 -1
- package/dist/chunk-CATH4QRQ.mjs +0 -141
- package/dist/chunk-CATH4QRQ.mjs.map +0 -1
- package/dist/chunk-CFAAYL5M.mjs +0 -26
- package/dist/chunk-CFAAYL5M.mjs.map +0 -1
- package/dist/chunk-CMNJZKTM.js +0 -140
- package/dist/chunk-CMNJZKTM.js.map +0 -1
- package/dist/chunk-CWTGQAOG.mjs +0 -72
- package/dist/chunk-CWTGQAOG.mjs.map +0 -1
- package/dist/chunk-DNB3T5P2.js +0 -269
- package/dist/chunk-DNB3T5P2.js.map +0 -1
- package/dist/chunk-DOUF6NON.mjs +0 -3
- package/dist/chunk-DOUF6NON.mjs.map +0 -1
- package/dist/chunk-DSYPZETD.js +0 -4
- package/dist/chunk-DSYPZETD.js.map +0 -1
- package/dist/chunk-E2NF4AQB.mjs +0 -2271
- package/dist/chunk-E2NF4AQB.mjs.map +0 -1
- package/dist/chunk-EH3V2BJF.js +0 -592
- package/dist/chunk-EH3V2BJF.js.map +0 -1
- package/dist/chunk-EIXUJANI.mjs +0 -590
- package/dist/chunk-EIXUJANI.mjs.map +0 -1
- package/dist/chunk-FFV6DMPA.mjs +0 -263
- package/dist/chunk-FFV6DMPA.mjs.map +0 -1
- package/dist/chunk-FLFYAWSS.mjs +0 -238
- package/dist/chunk-FLFYAWSS.mjs.map +0 -1
- package/dist/chunk-FNUBKONK.js +0 -291
- package/dist/chunk-FNUBKONK.js.map +0 -1
- package/dist/chunk-FOESYJP3.mjs +0 -3
- package/dist/chunk-FOESYJP3.mjs.map +0 -1
- package/dist/chunk-FTRCBE3J.js +0 -320
- package/dist/chunk-FTRCBE3J.js.map +0 -1
- package/dist/chunk-FZ4FIWCR.js +0 -240
- package/dist/chunk-FZ4FIWCR.js.map +0 -1
- package/dist/chunk-GDODJJ7D.mjs +0 -36
- package/dist/chunk-GDODJJ7D.mjs.map +0 -1
- package/dist/chunk-GSBQIVME.mjs +0 -278
- package/dist/chunk-GSBQIVME.mjs.map +0 -1
- package/dist/chunk-GSTY3GO7.mjs +0 -40
- package/dist/chunk-GSTY3GO7.mjs.map +0 -1
- package/dist/chunk-H3B54PFV.mjs +0 -17
- package/dist/chunk-H3B54PFV.mjs.map +0 -1
- package/dist/chunk-H7WPK5CR.js +0 -297
- package/dist/chunk-H7WPK5CR.js.map +0 -1
- package/dist/chunk-HJFVRV47.js +0 -120
- package/dist/chunk-HJFVRV47.js.map +0 -1
- package/dist/chunk-HL7ZAAD4.mjs +0 -375
- package/dist/chunk-HL7ZAAD4.mjs.map +0 -1
- package/dist/chunk-IWJOPXYN.mjs +0 -96
- package/dist/chunk-IWJOPXYN.mjs.map +0 -1
- package/dist/chunk-J62YDWIK.js +0 -8
- package/dist/chunk-J62YDWIK.js.map +0 -1
- package/dist/chunk-JB5XXPLL.js +0 -377
- package/dist/chunk-JB5XXPLL.js.map +0 -1
- package/dist/chunk-JIKAD4YL.js +0 -4
- package/dist/chunk-JIKAD4YL.js.map +0 -1
- package/dist/chunk-KAZQJ24E.mjs +0 -59
- package/dist/chunk-KAZQJ24E.mjs.map +0 -1
- package/dist/chunk-KHUE77HC.js +0 -81
- package/dist/chunk-KHUE77HC.js.map +0 -1
- package/dist/chunk-KOAC3BBP.mjs +0 -11
- package/dist/chunk-KOAC3BBP.mjs.map +0 -1
- package/dist/chunk-OHA5KJ2M.mjs +0 -6
- package/dist/chunk-OHA5KJ2M.mjs.map +0 -1
- package/dist/chunk-OX5CESVM.js +0 -40
- package/dist/chunk-OX5CESVM.js.map +0 -1
- package/dist/chunk-P25HBGP5.mjs +0 -3
- package/dist/chunk-P25HBGP5.mjs.map +0 -1
- package/dist/chunk-P7CHGWY7.js +0 -4
- package/dist/chunk-P7CHGWY7.js.map +0 -1
- package/dist/chunk-QAPQGDWK.js +0 -8
- package/dist/chunk-QAPQGDWK.js.map +0 -1
- package/dist/chunk-QOGBOT2M.mjs +0 -328
- package/dist/chunk-QOGBOT2M.mjs.map +0 -1
- package/dist/chunk-QRTABC4Z.js +0 -8
- package/dist/chunk-QRTABC4Z.js.map +0 -1
- package/dist/chunk-QSQGLWNY.mjs +0 -3
- package/dist/chunk-QSQGLWNY.mjs.map +0 -1
- package/dist/chunk-RI6SDMER.mjs +0 -295
- package/dist/chunk-RI6SDMER.mjs.map +0 -1
- package/dist/chunk-RIIVW6TQ.mjs +0 -267
- package/dist/chunk-RIIVW6TQ.mjs.map +0 -1
- package/dist/chunk-RV64M4Q6.mjs +0 -3
- package/dist/chunk-RV64M4Q6.mjs.map +0 -1
- package/dist/chunk-RXUJ4DUB.js +0 -330
- package/dist/chunk-RXUJ4DUB.js.map +0 -1
- package/dist/chunk-SD7BHT2F.mjs +0 -3
- package/dist/chunk-SD7BHT2F.mjs.map +0 -1
- package/dist/chunk-SWWLOD7Q.mjs +0 -6
- package/dist/chunk-SWWLOD7Q.mjs.map +0 -1
- package/dist/chunk-TIGHBA37.js +0 -143
- package/dist/chunk-TIGHBA37.js.map +0 -1
- package/dist/chunk-TLEVIIUE.mjs +0 -34
- package/dist/chunk-TLEVIIUE.mjs.map +0 -1
- package/dist/chunk-U3GOWK6J.mjs +0 -6
- package/dist/chunk-U3GOWK6J.mjs.map +0 -1
- package/dist/chunk-UPVKABAV.js +0 -19
- package/dist/chunk-UPVKABAV.js.map +0 -1
- package/dist/chunk-VCX6FG3E.mjs +0 -318
- package/dist/chunk-VCX6FG3E.mjs.map +0 -1
- package/dist/chunk-VEIVYUYF.js +0 -4
- package/dist/chunk-VEIVYUYF.js.map +0 -1
- package/dist/chunk-VYSOAGRU.mjs +0 -6
- package/dist/chunk-VYSOAGRU.mjs.map +0 -1
- package/dist/chunk-WJBJARLJ.js +0 -38
- package/dist/chunk-WJBJARLJ.js.map +0 -1
- package/dist/chunk-WNUB3UTT.js +0 -241
- package/dist/chunk-WNUB3UTT.js.map +0 -1
- package/dist/chunk-WQHTNL5L.js +0 -4
- package/dist/chunk-WQHTNL5L.js.map +0 -1
- package/dist/chunk-X3UMAHOJ.js +0 -4
- package/dist/chunk-X3UMAHOJ.js.map +0 -1
- package/dist/chunk-XMFOZYNI.js +0 -8
- package/dist/chunk-XMFOZYNI.js.map +0 -1
- package/dist/chunk-XNMXN5SZ.mjs +0 -3
- package/dist/chunk-XNMXN5SZ.mjs.map +0 -1
- package/dist/chunk-XRYLHTVV.mjs +0 -267
- package/dist/chunk-XRYLHTVV.mjs.map +0 -1
- package/dist/chunk-XSJTASPK.js +0 -13
- package/dist/chunk-XSJTASPK.js.map +0 -1
- package/dist/chunk-XT3BAM4H.js +0 -45
- package/dist/chunk-XT3BAM4H.js.map +0 -1
- package/dist/chunk-YBK6EBA5.mjs +0 -239
- package/dist/chunk-YBK6EBA5.mjs.map +0 -1
- package/dist/chunk-YFEPTSI2.js +0 -265
- package/dist/chunk-YFEPTSI2.js.map +0 -1
- package/dist/chunk-YYLD3AJ7.js +0 -61
- package/dist/chunk-YYLD3AJ7.js.map +0 -1
- package/dist/chunk-ZEDJUNC6.mjs +0 -115
- package/dist/chunk-ZEDJUNC6.mjs.map +0 -1
- package/dist/constants.d.mts +0 -91
- package/dist/constants.d.ts +0 -91
- package/dist/constants.js +0 -196
- package/dist/constants.js.map +0 -1
- package/dist/constants.mjs +0 -3
- package/dist/constants.mjs.map +0 -1
- package/dist/deployments.generated.d.mts +0 -267
- package/dist/deployments.generated.d.ts +0 -267
- package/dist/deployments.generated.js +0 -12
- package/dist/deployments.generated.js.map +0 -1
- package/dist/deployments.generated.mjs +0 -3
- package/dist/deployments.generated.mjs.map +0 -1
- package/dist/entities/DopplerFactory.d.mts +0 -266
- package/dist/entities/DopplerFactory.d.ts +0 -266
- package/dist/entities/DopplerFactory.js +0 -33
- package/dist/entities/DopplerFactory.js.map +0 -1
- package/dist/entities/DopplerFactory.mjs +0 -24
- package/dist/entities/DopplerFactory.mjs.map +0 -1
- package/dist/entities/auction/DynamicAuction.d.mts +0 -72
- package/dist/entities/auction/DynamicAuction.d.ts +0 -72
- package/dist/entities/auction/DynamicAuction.js +0 -21
- package/dist/entities/auction/DynamicAuction.js.map +0 -1
- package/dist/entities/auction/DynamicAuction.mjs +0 -12
- package/dist/entities/auction/DynamicAuction.mjs.map +0 -1
- package/dist/entities/auction/MulticurvePool.d.mts +0 -74
- package/dist/entities/auction/MulticurvePool.d.ts +0 -74
- package/dist/entities/auction/MulticurvePool.js +0 -24
- package/dist/entities/auction/MulticurvePool.js.map +0 -1
- package/dist/entities/auction/MulticurvePool.mjs +0 -15
- package/dist/entities/auction/MulticurvePool.mjs.map +0 -1
- package/dist/entities/auction/StaticAuction.d.mts +0 -44
- package/dist/entities/auction/StaticAuction.d.ts +0 -44
- package/dist/entities/auction/StaticAuction.js +0 -21
- package/dist/entities/auction/StaticAuction.js.map +0 -1
- package/dist/entities/auction/StaticAuction.mjs +0 -12
- package/dist/entities/auction/StaticAuction.mjs.map +0 -1
- package/dist/entities/auction/index.d.mts +0 -7
- package/dist/entities/auction/index.d.ts +0 -7
- package/dist/entities/auction/index.js +0 -35
- package/dist/entities/auction/index.js.map +0 -1
- package/dist/entities/auction/index.mjs +0 -18
- package/dist/entities/auction/index.mjs.map +0 -1
- package/dist/entities/quoter/Quoter.d.mts +0 -150
- package/dist/entities/quoter/Quoter.d.ts +0 -150
- package/dist/entities/quoter/Quoter.js +0 -21
- package/dist/entities/quoter/Quoter.js.map +0 -1
- package/dist/entities/quoter/Quoter.mjs +0 -12
- package/dist/entities/quoter/Quoter.mjs.map +0 -1
- package/dist/entities/quoter/index.d.mts +0 -5
- package/dist/entities/quoter/index.d.ts +0 -5
- package/dist/entities/quoter/index.js +0 -22
- package/dist/entities/quoter/index.js.map +0 -1
- package/dist/entities/quoter/index.mjs +0 -13
- package/dist/entities/quoter/index.mjs.map +0 -1
- package/dist/entities/token/derc20/Derc20.d.mts +0 -102
- package/dist/entities/token/derc20/Derc20.d.ts +0 -102
- package/dist/entities/token/derc20/Derc20.js +0 -19
- package/dist/entities/token/derc20/Derc20.js.map +0 -1
- package/dist/entities/token/derc20/Derc20.mjs +0 -10
- package/dist/entities/token/derc20/Derc20.mjs.map +0 -1
- package/dist/entities/token/derc20/index.d.mts +0 -5
- package/dist/entities/token/derc20/index.d.ts +0 -5
- package/dist/entities/token/derc20/index.js +0 -20
- package/dist/entities/token/derc20/index.js.map +0 -1
- package/dist/entities/token/derc20/index.mjs +0 -11
- package/dist/entities/token/derc20/index.mjs.map +0 -1
- package/dist/entities/token/eth/Eth.d.mts +0 -54
- package/dist/entities/token/eth/Eth.d.ts +0 -54
- package/dist/entities/token/eth/Eth.js +0 -12
- package/dist/entities/token/eth/Eth.js.map +0 -1
- package/dist/entities/token/eth/Eth.mjs +0 -3
- package/dist/entities/token/eth/Eth.mjs.map +0 -1
- package/dist/entities/token/eth/index.d.mts +0 -5
- package/dist/entities/token/eth/index.d.ts +0 -5
- package/dist/entities/token/eth/index.js +0 -13
- package/dist/entities/token/eth/index.js.map +0 -1
- package/dist/entities/token/eth/index.mjs +0 -4
- package/dist/entities/token/eth/index.mjs.map +0 -1
- package/dist/entities/token/index.d.mts +0 -6
- package/dist/entities/token/index.d.ts +0 -6
- package/dist/entities/token/index.js +0 -27
- package/dist/entities/token/index.js.map +0 -1
- package/dist/entities/token/index.mjs +0 -14
- package/dist/entities/token/index.mjs.map +0 -1
- package/dist/index.d.mts +0 -37
- package/dist/index.d.ts +0 -37
- package/dist/index.js +0 -565
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -47
- package/dist/index.mjs.map +0 -1
- package/dist/types.d.mts +0 -607
- package/dist/types.d.ts +0 -607
- package/dist/types.js +0 -30
- package/dist/types.js.map +0 -1
- package/dist/types.mjs +0 -5
- package/dist/types.mjs.map +0 -1
- package/dist/utils/airlock.d.mts +0 -11
- package/dist/utils/airlock.d.ts +0 -11
- package/dist/utils/airlock.js +0 -26
- package/dist/utils/airlock.js.map +0 -1
- package/dist/utils/airlock.mjs +0 -5
- package/dist/utils/airlock.mjs.map +0 -1
- package/dist/utils/balanceDelta.d.mts +0 -10
- package/dist/utils/balanceDelta.d.ts +0 -10
- package/dist/utils/balanceDelta.js +0 -12
- package/dist/utils/balanceDelta.js.map +0 -1
- package/dist/utils/balanceDelta.mjs +0 -3
- package/dist/utils/balanceDelta.mjs.map +0 -1
- package/dist/utils/computeOptimalGamma.d.mts +0 -7
- package/dist/utils/computeOptimalGamma.d.ts +0 -7
- package/dist/utils/computeOptimalGamma.js +0 -12
- package/dist/utils/computeOptimalGamma.js.map +0 -1
- package/dist/utils/computeOptimalGamma.mjs +0 -3
- package/dist/utils/computeOptimalGamma.mjs.map +0 -1
- package/dist/utils/dopplerHookMigrator.d.mts +0 -11
- package/dist/utils/dopplerHookMigrator.d.ts +0 -11
- package/dist/utils/dopplerHookMigrator.js +0 -12
- package/dist/utils/dopplerHookMigrator.js.map +0 -1
- package/dist/utils/dopplerHookMigrator.mjs +0 -3
- package/dist/utils/dopplerHookMigrator.mjs.map +0 -1
- package/dist/utils/index.d.mts +0 -14
- package/dist/utils/index.d.ts +0 -14
- package/dist/utils/index.js +0 -195
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/index.mjs +0 -22
- package/dist/utils/index.mjs.map +0 -1
- package/dist/utils/isToken0Expected.d.mts +0 -13
- package/dist/utils/isToken0Expected.d.ts +0 -13
- package/dist/utils/isToken0Expected.js +0 -12
- package/dist/utils/isToken0Expected.js.map +0 -1
- package/dist/utils/isToken0Expected.mjs +0 -3
- package/dist/utils/isToken0Expected.mjs.map +0 -1
- package/dist/utils/marketCapHelpers.d.mts +0 -259
- package/dist/utils/marketCapHelpers.d.ts +0 -259
- package/dist/utils/marketCapHelpers.js +0 -58
- package/dist/utils/marketCapHelpers.js.map +0 -1
- package/dist/utils/marketCapHelpers.mjs +0 -5
- package/dist/utils/marketCapHelpers.mjs.map +0 -1
- package/dist/utils/poolKey.d.mts +0 -17
- package/dist/utils/poolKey.d.ts +0 -17
- package/dist/utils/poolKey.js +0 -12
- package/dist/utils/poolKey.js.map +0 -1
- package/dist/utils/poolKey.mjs +0 -3
- package/dist/utils/poolKey.mjs.map +0 -1
- package/dist/utils/priceHelpers.d.mts +0 -86
- package/dist/utils/priceHelpers.d.ts +0 -86
- package/dist/utils/priceHelpers.js +0 -41
- package/dist/utils/priceHelpers.js.map +0 -1
- package/dist/utils/priceHelpers.mjs +0 -4
- package/dist/utils/priceHelpers.mjs.map +0 -1
- package/dist/utils/tickMath.d.mts +0 -72
- package/dist/utils/tickMath.d.ts +0 -72
- package/dist/utils/tickMath.js +0 -60
- package/dist/utils/tickMath.js.map +0 -1
- package/dist/utils/tickMath.mjs +0 -3
- package/dist/utils/tickMath.mjs.map +0 -1
- package/dist/utils/tokenAddressMiner.d.mts +0 -37
- package/dist/utils/tokenAddressMiner.d.ts +0 -37
- package/dist/utils/tokenAddressMiner.js +0 -19
- package/dist/utils/tokenAddressMiner.js.map +0 -1
- package/dist/utils/tokenAddressMiner.mjs +0 -10
- package/dist/utils/tokenAddressMiner.mjs.map +0 -1
package/dist/abis/index.js
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk3MVW6UIW_js = require('../chunk-3MVW6UIW.js');
|
|
4
|
-
require('../chunk-4XN6DQBW.js');
|
|
5
|
-
var chunkQRTABC4Z_js = require('../chunk-QRTABC4Z.js');
|
|
6
|
-
var chunkJ62YDWIK_js = require('../chunk-J62YDWIK.js');
|
|
7
|
-
var chunkXMFOZYNI_js = require('../chunk-XMFOZYNI.js');
|
|
8
|
-
var chunkQAPQGDWK_js = require('../chunk-QAPQGDWK.js');
|
|
9
|
-
var chunk5TQOT6CW_js = require('../chunk-5TQOT6CW.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Object.defineProperty(exports, "airlockAbi", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunk3MVW6UIW_js.airlockAbi; }
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "bundlerAbi", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function () { return chunk3MVW6UIW_js.bundlerAbi; }
|
|
20
|
-
});
|
|
21
|
-
Object.defineProperty(exports, "decayMulticurveInitializerHookAbi", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () { return chunk3MVW6UIW_js.decayMulticurveInitializerHookAbi; }
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "derc20Abi", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return chunk3MVW6UIW_js.derc20Abi; }
|
|
28
|
-
});
|
|
29
|
-
Object.defineProperty(exports, "dopplerHookAbi", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function () { return chunk3MVW6UIW_js.dopplerHookAbi; }
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "dopplerLensAbi", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () { return chunk3MVW6UIW_js.dopplerLensAbi; }
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "lockableUniswapV3InitializerAbi", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () { return chunk3MVW6UIW_js.lockableUniswapV3InitializerAbi; }
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(exports, "poolManagerAbi", {
|
|
42
|
-
enumerable: true,
|
|
43
|
-
get: function () { return chunk3MVW6UIW_js.poolManagerAbi; }
|
|
44
|
-
});
|
|
45
|
-
Object.defineProperty(exports, "quoterV2Abi", {
|
|
46
|
-
enumerable: true,
|
|
47
|
-
get: function () { return chunk3MVW6UIW_js.quoterV2Abi; }
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "rehypeDopplerHookAbi", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () { return chunk3MVW6UIW_js.rehypeDopplerHookAbi; }
|
|
52
|
-
});
|
|
53
|
-
Object.defineProperty(exports, "streamableFeesLockerAbi", {
|
|
54
|
-
enumerable: true,
|
|
55
|
-
get: function () { return chunk3MVW6UIW_js.streamableFeesLockerAbi; }
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "uniswapV2Router02Abi", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () { return chunk3MVW6UIW_js.uniswapV2Router02Abi; }
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "uniswapV3InitializerAbi", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () { return chunk3MVW6UIW_js.uniswapV3InitializerAbi; }
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(exports, "uniswapV3PoolAbi", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () { return chunk3MVW6UIW_js.uniswapV3PoolAbi; }
|
|
68
|
-
});
|
|
69
|
-
Object.defineProperty(exports, "uniswapV4InitializerAbi", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
get: function () { return chunk3MVW6UIW_js.uniswapV4InitializerAbi; }
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "v2MigratorAbi", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function () { return chunk3MVW6UIW_js.v2MigratorAbi; }
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(exports, "v3MigratorAbi", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function () { return chunk3MVW6UIW_js.v3MigratorAbi; }
|
|
80
|
-
});
|
|
81
|
-
Object.defineProperty(exports, "v4MigratorAbi", {
|
|
82
|
-
enumerable: true,
|
|
83
|
-
get: function () { return chunk3MVW6UIW_js.v4MigratorAbi; }
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "v4MulticurveInitializerAbi", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function () { return chunk3MVW6UIW_js.v4MulticurveInitializerAbi; }
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(exports, "v4MulticurveMigratorAbi", {
|
|
90
|
-
enumerable: true,
|
|
91
|
-
get: function () { return chunk3MVW6UIW_js.v4MulticurveMigratorAbi; }
|
|
92
|
-
});
|
|
93
|
-
Object.defineProperty(exports, "v4QuoterAbi", {
|
|
94
|
-
enumerable: true,
|
|
95
|
-
get: function () { return chunk3MVW6UIW_js.v4QuoterAbi; }
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(exports, "weth9Abi", {
|
|
98
|
-
enumerable: true,
|
|
99
|
-
get: function () { return chunk3MVW6UIW_js.weth9Abi; }
|
|
100
|
-
});
|
|
101
|
-
Object.defineProperty(exports, "DERC20Bytecode", {
|
|
102
|
-
enumerable: true,
|
|
103
|
-
get: function () { return chunkQRTABC4Z_js.derc20_default; }
|
|
104
|
-
});
|
|
105
|
-
Object.defineProperty(exports, "DERC2080Bytecode", {
|
|
106
|
-
enumerable: true,
|
|
107
|
-
get: function () { return chunkJ62YDWIK_js.derc2080_default; }
|
|
108
|
-
});
|
|
109
|
-
Object.defineProperty(exports, "DopplerBytecode", {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function () { return chunkXMFOZYNI_js.doppler_default; }
|
|
112
|
-
});
|
|
113
|
-
Object.defineProperty(exports, "DopplerDN404Bytecode", {
|
|
114
|
-
enumerable: true,
|
|
115
|
-
get: function () { return chunkQAPQGDWK_js.dopplerDN404_default; }
|
|
116
|
-
});
|
|
117
|
-
Object.defineProperty(exports, "StateViewBytecode", {
|
|
118
|
-
enumerable: true,
|
|
119
|
-
get: function () { return chunk5TQOT6CW_js.stateView_default; }
|
|
120
|
-
});
|
|
121
|
-
//# sourceMappingURL=index.js.map
|
|
122
|
-
//# sourceMappingURL=index.js.map
|
package/dist/abis/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/abis/index.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
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';
|
|
2
|
-
import '../chunk-DOUF6NON.mjs';
|
|
3
|
-
export { derc20_default as DERC20Bytecode } from '../chunk-VYSOAGRU.mjs';
|
|
4
|
-
export { derc2080_default as DERC2080Bytecode } from '../chunk-U3GOWK6J.mjs';
|
|
5
|
-
export { doppler_default as DopplerBytecode } from '../chunk-SWWLOD7Q.mjs';
|
|
6
|
-
export { dopplerDN404_default as DopplerDN404Bytecode } from '../chunk-OHA5KJ2M.mjs';
|
|
7
|
-
export { stateView_default as StateViewBytecode } from '../chunk-3NMGCQJ4.mjs';
|
|
8
|
-
//# sourceMappingURL=index.mjs.map
|
|
9
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/abis/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/addresses.d.mts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Address } from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const CHAIN_IDS: {
|
|
4
|
-
readonly MAINNET: 1;
|
|
5
|
-
readonly ETH_SEPOLIA: 11155111;
|
|
6
|
-
readonly BASE: 8453;
|
|
7
|
-
readonly BASE_SEPOLIA: 84532;
|
|
8
|
-
readonly INK: 57073;
|
|
9
|
-
readonly UNICHAIN: 130;
|
|
10
|
-
readonly UNICHAIN_SEPOLIA: 1301;
|
|
11
|
-
readonly MONAD_TESTNET: 10143;
|
|
12
|
-
readonly MONAD_MAINNET: 143;
|
|
13
|
-
};
|
|
14
|
-
type SupportedChainId = (typeof CHAIN_IDS)[keyof typeof CHAIN_IDS];
|
|
15
|
-
type SupportedChainKey = keyof typeof CHAIN_IDS;
|
|
16
|
-
interface ChainAddresses {
|
|
17
|
-
airlock: Address;
|
|
18
|
-
tokenFactory: Address;
|
|
19
|
-
v3Initializer: Address;
|
|
20
|
-
v3Quoter: Address;
|
|
21
|
-
lockableV3Initializer?: Address;
|
|
22
|
-
v4Initializer: Address;
|
|
23
|
-
v4MulticurveInitializer?: Address;
|
|
24
|
-
v4ScheduledMulticurveInitializer?: Address;
|
|
25
|
-
v4DecayMulticurveInitializer?: Address;
|
|
26
|
-
dopplerHookInitializer?: Address;
|
|
27
|
-
rehypeDopplerHook?: Address;
|
|
28
|
-
dopplerLens: Address;
|
|
29
|
-
dopplerDeployer: Address;
|
|
30
|
-
poolManager: Address;
|
|
31
|
-
doppler404Factory?: Address;
|
|
32
|
-
v2Migrator: Address;
|
|
33
|
-
v4Migrator: Address;
|
|
34
|
-
dopplerHookMigrator?: Address;
|
|
35
|
-
rehypeDopplerHookMigrator?: Address;
|
|
36
|
-
v4MigratorHook?: Address;
|
|
37
|
-
noOpMigrator?: Address;
|
|
38
|
-
governanceFactory: Address;
|
|
39
|
-
noOpGovernanceFactory?: Address;
|
|
40
|
-
launchpadGovernanceFactory?: Address;
|
|
41
|
-
streamableFeesLocker?: Address;
|
|
42
|
-
universalRouter: Address;
|
|
43
|
-
univ2Router02?: Address;
|
|
44
|
-
permit2: Address;
|
|
45
|
-
bundler?: Address;
|
|
46
|
-
weth: Address;
|
|
47
|
-
uniswapV2Factory?: Address;
|
|
48
|
-
uniswapV3Factory?: Address;
|
|
49
|
-
uniswapV4Quoter: Address;
|
|
50
|
-
}
|
|
51
|
-
declare const ADDRESSES: Record<SupportedChainId, ChainAddresses>;
|
|
52
|
-
/**
|
|
53
|
-
* Get addresses for a specific chain
|
|
54
|
-
*/
|
|
55
|
-
declare function getAddresses(chainId: number): ChainAddresses;
|
|
56
|
-
/**
|
|
57
|
-
* List of supported chain IDs for easy iteration/validation
|
|
58
|
-
*/
|
|
59
|
-
declare const SUPPORTED_CHAIN_IDS: SupportedChainId[];
|
|
60
|
-
/**
|
|
61
|
-
* Runtime/type guard for narrowing a number to SupportedChainId
|
|
62
|
-
*/
|
|
63
|
-
declare function isSupportedChainId(id: number): id is SupportedChainId;
|
|
64
|
-
|
|
65
|
-
export { ADDRESSES, CHAIN_IDS, type ChainAddresses, SUPPORTED_CHAIN_IDS, type SupportedChainId, type SupportedChainKey, getAddresses, isSupportedChainId };
|
package/dist/addresses.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Address } from 'viem';
|
|
2
|
-
|
|
3
|
-
declare const CHAIN_IDS: {
|
|
4
|
-
readonly MAINNET: 1;
|
|
5
|
-
readonly ETH_SEPOLIA: 11155111;
|
|
6
|
-
readonly BASE: 8453;
|
|
7
|
-
readonly BASE_SEPOLIA: 84532;
|
|
8
|
-
readonly INK: 57073;
|
|
9
|
-
readonly UNICHAIN: 130;
|
|
10
|
-
readonly UNICHAIN_SEPOLIA: 1301;
|
|
11
|
-
readonly MONAD_TESTNET: 10143;
|
|
12
|
-
readonly MONAD_MAINNET: 143;
|
|
13
|
-
};
|
|
14
|
-
type SupportedChainId = (typeof CHAIN_IDS)[keyof typeof CHAIN_IDS];
|
|
15
|
-
type SupportedChainKey = keyof typeof CHAIN_IDS;
|
|
16
|
-
interface ChainAddresses {
|
|
17
|
-
airlock: Address;
|
|
18
|
-
tokenFactory: Address;
|
|
19
|
-
v3Initializer: Address;
|
|
20
|
-
v3Quoter: Address;
|
|
21
|
-
lockableV3Initializer?: Address;
|
|
22
|
-
v4Initializer: Address;
|
|
23
|
-
v4MulticurveInitializer?: Address;
|
|
24
|
-
v4ScheduledMulticurveInitializer?: Address;
|
|
25
|
-
v4DecayMulticurveInitializer?: Address;
|
|
26
|
-
dopplerHookInitializer?: Address;
|
|
27
|
-
rehypeDopplerHook?: Address;
|
|
28
|
-
dopplerLens: Address;
|
|
29
|
-
dopplerDeployer: Address;
|
|
30
|
-
poolManager: Address;
|
|
31
|
-
doppler404Factory?: Address;
|
|
32
|
-
v2Migrator: Address;
|
|
33
|
-
v4Migrator: Address;
|
|
34
|
-
dopplerHookMigrator?: Address;
|
|
35
|
-
rehypeDopplerHookMigrator?: Address;
|
|
36
|
-
v4MigratorHook?: Address;
|
|
37
|
-
noOpMigrator?: Address;
|
|
38
|
-
governanceFactory: Address;
|
|
39
|
-
noOpGovernanceFactory?: Address;
|
|
40
|
-
launchpadGovernanceFactory?: Address;
|
|
41
|
-
streamableFeesLocker?: Address;
|
|
42
|
-
universalRouter: Address;
|
|
43
|
-
univ2Router02?: Address;
|
|
44
|
-
permit2: Address;
|
|
45
|
-
bundler?: Address;
|
|
46
|
-
weth: Address;
|
|
47
|
-
uniswapV2Factory?: Address;
|
|
48
|
-
uniswapV3Factory?: Address;
|
|
49
|
-
uniswapV4Quoter: Address;
|
|
50
|
-
}
|
|
51
|
-
declare const ADDRESSES: Record<SupportedChainId, ChainAddresses>;
|
|
52
|
-
/**
|
|
53
|
-
* Get addresses for a specific chain
|
|
54
|
-
*/
|
|
55
|
-
declare function getAddresses(chainId: number): ChainAddresses;
|
|
56
|
-
/**
|
|
57
|
-
* List of supported chain IDs for easy iteration/validation
|
|
58
|
-
*/
|
|
59
|
-
declare const SUPPORTED_CHAIN_IDS: SupportedChainId[];
|
|
60
|
-
/**
|
|
61
|
-
* Runtime/type guard for narrowing a number to SupportedChainId
|
|
62
|
-
*/
|
|
63
|
-
declare function isSupportedChainId(id: number): id is SupportedChainId;
|
|
64
|
-
|
|
65
|
-
export { ADDRESSES, CHAIN_IDS, type ChainAddresses, SUPPORTED_CHAIN_IDS, type SupportedChainId, type SupportedChainKey, getAddresses, isSupportedChainId };
|
package/dist/addresses.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk7CAAI5DL_js = require('./chunk-7CAAI5DL.js');
|
|
4
|
-
require('./chunk-DNB3T5P2.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "ADDRESSES", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunk7CAAI5DL_js.ADDRESSES; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "CHAIN_IDS", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunk7CAAI5DL_js.CHAIN_IDS; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "SUPPORTED_CHAIN_IDS", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunk7CAAI5DL_js.SUPPORTED_CHAIN_IDS; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getAddresses", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunk7CAAI5DL_js.getAddresses; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "isSupportedChainId", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunk7CAAI5DL_js.isSupportedChainId; }
|
|
27
|
-
});
|
|
28
|
-
//# sourceMappingURL=addresses.js.map
|
|
29
|
-
//# sourceMappingURL=addresses.js.map
|
package/dist/addresses.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"addresses.js"}
|
package/dist/addresses.mjs
DELETED
package/dist/addresses.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"addresses.mjs"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { Address } from 'viem';
|
|
2
|
-
import { PriceRange, DynamicAuctionMarketCapConfig, GovernanceOption, MigrationConfig, CreateDynamicAuctionParams } from '../types.mjs';
|
|
3
|
-
import { SupportedChainId } from '../addresses.mjs';
|
|
4
|
-
import { BaseAuctionBuilder } from './shared.mjs';
|
|
5
|
-
import 'viem/chains';
|
|
6
|
-
|
|
7
|
-
declare class DynamicAuctionBuilder<C extends SupportedChainId> implements BaseAuctionBuilder<C> {
|
|
8
|
-
private token?;
|
|
9
|
-
private sale?;
|
|
10
|
-
private auction?;
|
|
11
|
-
private pool?;
|
|
12
|
-
private vesting?;
|
|
13
|
-
private governance?;
|
|
14
|
-
private migration?;
|
|
15
|
-
private integrator?;
|
|
16
|
-
private userAddress?;
|
|
17
|
-
private startTimeOffset?;
|
|
18
|
-
private blockTimestamp?;
|
|
19
|
-
private moduleAddresses?;
|
|
20
|
-
private gasLimit?;
|
|
21
|
-
private marketCapConfig?;
|
|
22
|
-
chainId: C;
|
|
23
|
-
constructor(chainId: C);
|
|
24
|
-
static forChain<C extends SupportedChainId>(chainId: C): DynamicAuctionBuilder<C>;
|
|
25
|
-
tokenConfig(params: {
|
|
26
|
-
type?: 'standard';
|
|
27
|
-
name: string;
|
|
28
|
-
symbol: string;
|
|
29
|
-
tokenURI: string;
|
|
30
|
-
yearlyMintRate?: bigint;
|
|
31
|
-
} | {
|
|
32
|
-
type: 'doppler404';
|
|
33
|
-
name: string;
|
|
34
|
-
symbol: string;
|
|
35
|
-
baseURI: string;
|
|
36
|
-
unit?: bigint;
|
|
37
|
-
}): this;
|
|
38
|
-
saleConfig(params: {
|
|
39
|
-
initialSupply: bigint;
|
|
40
|
-
numTokensToSell: bigint;
|
|
41
|
-
numeraire?: Address;
|
|
42
|
-
}): this;
|
|
43
|
-
poolConfig(params: {
|
|
44
|
-
fee: number;
|
|
45
|
-
tickSpacing: number;
|
|
46
|
-
}): this;
|
|
47
|
-
auctionByTicks(params: {
|
|
48
|
-
startTick: number;
|
|
49
|
-
endTick: number;
|
|
50
|
-
minProceeds: bigint;
|
|
51
|
-
maxProceeds: bigint;
|
|
52
|
-
duration?: number;
|
|
53
|
-
epochLength?: number;
|
|
54
|
-
gamma?: number;
|
|
55
|
-
numPdSlugs?: number;
|
|
56
|
-
}): this;
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use withMarketCapRange() instead for more intuitive market cap configuration
|
|
59
|
-
*/
|
|
60
|
-
auctionByPriceRange(params: {
|
|
61
|
-
priceRange: PriceRange;
|
|
62
|
-
minProceeds: bigint;
|
|
63
|
-
maxProceeds: bigint;
|
|
64
|
-
duration?: number;
|
|
65
|
-
epochLength?: number;
|
|
66
|
-
gamma?: number;
|
|
67
|
-
tickSpacing?: number;
|
|
68
|
-
numPdSlugs?: number;
|
|
69
|
-
}): this;
|
|
70
|
-
/**
|
|
71
|
-
* Configure auction using target market cap range.
|
|
72
|
-
* Converts market cap values (in USD) to Uniswap ticks.
|
|
73
|
-
*
|
|
74
|
-
* V4 pools support custom fees (0-100,000). Standard fee tiers auto-derive
|
|
75
|
-
* tickSpacing; custom fees require explicit tickSpacing (max: 30).
|
|
76
|
-
*
|
|
77
|
-
* @param params - Market cap configuration with auction parameters
|
|
78
|
-
* @returns Builder instance for chaining
|
|
79
|
-
*
|
|
80
|
-
* @example Standard fee tier (auto tickSpacing)
|
|
81
|
-
* ```ts
|
|
82
|
-
* builder
|
|
83
|
-
* .saleConfig({ initialSupply, numTokensToSell, numeraire: WETH })
|
|
84
|
-
* .withMarketCapRange({
|
|
85
|
-
* marketCap: { start: 500_000, min: 50_000 },
|
|
86
|
-
* numerairePrice: 3000,
|
|
87
|
-
* minProceeds: parseEther('10'),
|
|
88
|
-
* maxProceeds: parseEther('1000'),
|
|
89
|
-
* fee: 10000, // Standard tier, tickSpacing auto = 30
|
|
90
|
-
* })
|
|
91
|
-
* ```
|
|
92
|
-
*
|
|
93
|
-
* @example Custom fee (requires explicit tickSpacing)
|
|
94
|
-
* ```ts
|
|
95
|
-
* builder
|
|
96
|
-
* .saleConfig({ initialSupply, numTokensToSell, numeraire: WETH })
|
|
97
|
-
* .withMarketCapRange({
|
|
98
|
-
* marketCap: { start: 500_000, min: 50_000 },
|
|
99
|
-
* numerairePrice: 3000,
|
|
100
|
-
* minProceeds: parseEther('10'),
|
|
101
|
-
* maxProceeds: parseEther('1000'),
|
|
102
|
-
* fee: 2500, // Custom 0.25% fee
|
|
103
|
-
* tickSpacing: 10, // Required for custom fees
|
|
104
|
-
* })
|
|
105
|
-
* ```
|
|
106
|
-
*/
|
|
107
|
-
withMarketCapRange(params: DynamicAuctionMarketCapConfig): this;
|
|
108
|
-
withVesting(params?: {
|
|
109
|
-
duration?: bigint;
|
|
110
|
-
cliffDuration?: number;
|
|
111
|
-
recipients?: Address[];
|
|
112
|
-
amounts?: bigint[];
|
|
113
|
-
}): this;
|
|
114
|
-
withGovernance(params: GovernanceOption<C>): this;
|
|
115
|
-
withMigration(migration: MigrationConfig): this;
|
|
116
|
-
withUserAddress(address: Address): this;
|
|
117
|
-
withIntegrator(address?: Address): this;
|
|
118
|
-
withGasLimit(gas?: bigint): this;
|
|
119
|
-
withTime(params?: {
|
|
120
|
-
startTimeOffset?: number;
|
|
121
|
-
blockTimestamp?: number;
|
|
122
|
-
}): this;
|
|
123
|
-
private overrideModule;
|
|
124
|
-
withTokenFactory(address: Address): this;
|
|
125
|
-
withAirlock(address: Address): this;
|
|
126
|
-
withV4Initializer(address: Address): this;
|
|
127
|
-
withPoolManager(address: Address): this;
|
|
128
|
-
withDopplerDeployer(address: Address): this;
|
|
129
|
-
withGovernanceFactory(address: Address): this;
|
|
130
|
-
withV2Migrator(address: Address): this;
|
|
131
|
-
withV4Migrator(address: Address): this;
|
|
132
|
-
withDopplerHookMigrator(address: Address): this;
|
|
133
|
-
withRehypeDopplerHookMigrator(address: Address): this;
|
|
134
|
-
withNoOpMigrator(address: Address): this;
|
|
135
|
-
build(): CreateDynamicAuctionParams<C>;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export { DynamicAuctionBuilder };
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { Address } from 'viem';
|
|
2
|
-
import { PriceRange, DynamicAuctionMarketCapConfig, GovernanceOption, MigrationConfig, CreateDynamicAuctionParams } from '../types.js';
|
|
3
|
-
import { SupportedChainId } from '../addresses.js';
|
|
4
|
-
import { BaseAuctionBuilder } from './shared.js';
|
|
5
|
-
import 'viem/chains';
|
|
6
|
-
|
|
7
|
-
declare class DynamicAuctionBuilder<C extends SupportedChainId> implements BaseAuctionBuilder<C> {
|
|
8
|
-
private token?;
|
|
9
|
-
private sale?;
|
|
10
|
-
private auction?;
|
|
11
|
-
private pool?;
|
|
12
|
-
private vesting?;
|
|
13
|
-
private governance?;
|
|
14
|
-
private migration?;
|
|
15
|
-
private integrator?;
|
|
16
|
-
private userAddress?;
|
|
17
|
-
private startTimeOffset?;
|
|
18
|
-
private blockTimestamp?;
|
|
19
|
-
private moduleAddresses?;
|
|
20
|
-
private gasLimit?;
|
|
21
|
-
private marketCapConfig?;
|
|
22
|
-
chainId: C;
|
|
23
|
-
constructor(chainId: C);
|
|
24
|
-
static forChain<C extends SupportedChainId>(chainId: C): DynamicAuctionBuilder<C>;
|
|
25
|
-
tokenConfig(params: {
|
|
26
|
-
type?: 'standard';
|
|
27
|
-
name: string;
|
|
28
|
-
symbol: string;
|
|
29
|
-
tokenURI: string;
|
|
30
|
-
yearlyMintRate?: bigint;
|
|
31
|
-
} | {
|
|
32
|
-
type: 'doppler404';
|
|
33
|
-
name: string;
|
|
34
|
-
symbol: string;
|
|
35
|
-
baseURI: string;
|
|
36
|
-
unit?: bigint;
|
|
37
|
-
}): this;
|
|
38
|
-
saleConfig(params: {
|
|
39
|
-
initialSupply: bigint;
|
|
40
|
-
numTokensToSell: bigint;
|
|
41
|
-
numeraire?: Address;
|
|
42
|
-
}): this;
|
|
43
|
-
poolConfig(params: {
|
|
44
|
-
fee: number;
|
|
45
|
-
tickSpacing: number;
|
|
46
|
-
}): this;
|
|
47
|
-
auctionByTicks(params: {
|
|
48
|
-
startTick: number;
|
|
49
|
-
endTick: number;
|
|
50
|
-
minProceeds: bigint;
|
|
51
|
-
maxProceeds: bigint;
|
|
52
|
-
duration?: number;
|
|
53
|
-
epochLength?: number;
|
|
54
|
-
gamma?: number;
|
|
55
|
-
numPdSlugs?: number;
|
|
56
|
-
}): this;
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use withMarketCapRange() instead for more intuitive market cap configuration
|
|
59
|
-
*/
|
|
60
|
-
auctionByPriceRange(params: {
|
|
61
|
-
priceRange: PriceRange;
|
|
62
|
-
minProceeds: bigint;
|
|
63
|
-
maxProceeds: bigint;
|
|
64
|
-
duration?: number;
|
|
65
|
-
epochLength?: number;
|
|
66
|
-
gamma?: number;
|
|
67
|
-
tickSpacing?: number;
|
|
68
|
-
numPdSlugs?: number;
|
|
69
|
-
}): this;
|
|
70
|
-
/**
|
|
71
|
-
* Configure auction using target market cap range.
|
|
72
|
-
* Converts market cap values (in USD) to Uniswap ticks.
|
|
73
|
-
*
|
|
74
|
-
* V4 pools support custom fees (0-100,000). Standard fee tiers auto-derive
|
|
75
|
-
* tickSpacing; custom fees require explicit tickSpacing (max: 30).
|
|
76
|
-
*
|
|
77
|
-
* @param params - Market cap configuration with auction parameters
|
|
78
|
-
* @returns Builder instance for chaining
|
|
79
|
-
*
|
|
80
|
-
* @example Standard fee tier (auto tickSpacing)
|
|
81
|
-
* ```ts
|
|
82
|
-
* builder
|
|
83
|
-
* .saleConfig({ initialSupply, numTokensToSell, numeraire: WETH })
|
|
84
|
-
* .withMarketCapRange({
|
|
85
|
-
* marketCap: { start: 500_000, min: 50_000 },
|
|
86
|
-
* numerairePrice: 3000,
|
|
87
|
-
* minProceeds: parseEther('10'),
|
|
88
|
-
* maxProceeds: parseEther('1000'),
|
|
89
|
-
* fee: 10000, // Standard tier, tickSpacing auto = 30
|
|
90
|
-
* })
|
|
91
|
-
* ```
|
|
92
|
-
*
|
|
93
|
-
* @example Custom fee (requires explicit tickSpacing)
|
|
94
|
-
* ```ts
|
|
95
|
-
* builder
|
|
96
|
-
* .saleConfig({ initialSupply, numTokensToSell, numeraire: WETH })
|
|
97
|
-
* .withMarketCapRange({
|
|
98
|
-
* marketCap: { start: 500_000, min: 50_000 },
|
|
99
|
-
* numerairePrice: 3000,
|
|
100
|
-
* minProceeds: parseEther('10'),
|
|
101
|
-
* maxProceeds: parseEther('1000'),
|
|
102
|
-
* fee: 2500, // Custom 0.25% fee
|
|
103
|
-
* tickSpacing: 10, // Required for custom fees
|
|
104
|
-
* })
|
|
105
|
-
* ```
|
|
106
|
-
*/
|
|
107
|
-
withMarketCapRange(params: DynamicAuctionMarketCapConfig): this;
|
|
108
|
-
withVesting(params?: {
|
|
109
|
-
duration?: bigint;
|
|
110
|
-
cliffDuration?: number;
|
|
111
|
-
recipients?: Address[];
|
|
112
|
-
amounts?: bigint[];
|
|
113
|
-
}): this;
|
|
114
|
-
withGovernance(params: GovernanceOption<C>): this;
|
|
115
|
-
withMigration(migration: MigrationConfig): this;
|
|
116
|
-
withUserAddress(address: Address): this;
|
|
117
|
-
withIntegrator(address?: Address): this;
|
|
118
|
-
withGasLimit(gas?: bigint): this;
|
|
119
|
-
withTime(params?: {
|
|
120
|
-
startTimeOffset?: number;
|
|
121
|
-
blockTimestamp?: number;
|
|
122
|
-
}): this;
|
|
123
|
-
private overrideModule;
|
|
124
|
-
withTokenFactory(address: Address): this;
|
|
125
|
-
withAirlock(address: Address): this;
|
|
126
|
-
withV4Initializer(address: Address): this;
|
|
127
|
-
withPoolManager(address: Address): this;
|
|
128
|
-
withDopplerDeployer(address: Address): this;
|
|
129
|
-
withGovernanceFactory(address: Address): this;
|
|
130
|
-
withV2Migrator(address: Address): this;
|
|
131
|
-
withV4Migrator(address: Address): this;
|
|
132
|
-
withDopplerHookMigrator(address: Address): this;
|
|
133
|
-
withRehypeDopplerHookMigrator(address: Address): this;
|
|
134
|
-
withNoOpMigrator(address: Address): this;
|
|
135
|
-
build(): CreateDynamicAuctionParams<C>;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export { DynamicAuctionBuilder };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkJB5XXPLL_js = require('../chunk-JB5XXPLL.js');
|
|
4
|
-
require('../chunk-HJFVRV47.js');
|
|
5
|
-
require('../chunk-DSYPZETD.js');
|
|
6
|
-
require('../chunk-WNUB3UTT.js');
|
|
7
|
-
require('../chunk-UPVKABAV.js');
|
|
8
|
-
require('../chunk-WJBJARLJ.js');
|
|
9
|
-
require('../chunk-FNUBKONK.js');
|
|
10
|
-
require('../chunk-6H6X3VTZ.js');
|
|
11
|
-
require('../chunk-7M57PU6V.js');
|
|
12
|
-
require('../chunk-KHUE77HC.js');
|
|
13
|
-
require('../chunk-4VWQNNNW.js');
|
|
14
|
-
require('../chunk-XT3BAM4H.js');
|
|
15
|
-
require('../chunk-XSJTASPK.js');
|
|
16
|
-
require('../chunk-6BQY5EPB.js');
|
|
17
|
-
require('../chunk-OX5CESVM.js');
|
|
18
|
-
require('../chunk-7CAAI5DL.js');
|
|
19
|
-
require('../chunk-DNB3T5P2.js');
|
|
20
|
-
require('../chunk-3MVW6UIW.js');
|
|
21
|
-
require('../chunk-4XN6DQBW.js');
|
|
22
|
-
require('../chunk-QRTABC4Z.js');
|
|
23
|
-
require('../chunk-J62YDWIK.js');
|
|
24
|
-
require('../chunk-XMFOZYNI.js');
|
|
25
|
-
require('../chunk-QAPQGDWK.js');
|
|
26
|
-
require('../chunk-5TQOT6CW.js');
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Object.defineProperty(exports, "DynamicAuctionBuilder", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunkJB5XXPLL_js.DynamicAuctionBuilder; }
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=DynamicAuctionBuilder.js.map
|
|
35
|
-
//# sourceMappingURL=DynamicAuctionBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"DynamicAuctionBuilder.js"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export { DynamicAuctionBuilder } from '../chunk-HL7ZAAD4.mjs';
|
|
2
|
-
import '../chunk-ZEDJUNC6.mjs';
|
|
3
|
-
import '../chunk-7ZUV6WPX.mjs';
|
|
4
|
-
import '../chunk-YBK6EBA5.mjs';
|
|
5
|
-
import '../chunk-H3B54PFV.mjs';
|
|
6
|
-
import '../chunk-GDODJJ7D.mjs';
|
|
7
|
-
import '../chunk-GSBQIVME.mjs';
|
|
8
|
-
import '../chunk-ABT6AT7C.mjs';
|
|
9
|
-
import '../chunk-CFAAYL5M.mjs';
|
|
10
|
-
import '../chunk-CWTGQAOG.mjs';
|
|
11
|
-
import '../chunk-25GEBO3B.mjs';
|
|
12
|
-
import '../chunk-GSTY3GO7.mjs';
|
|
13
|
-
import '../chunk-KOAC3BBP.mjs';
|
|
14
|
-
import '../chunk-IWJOPXYN.mjs';
|
|
15
|
-
import '../chunk-TLEVIIUE.mjs';
|
|
16
|
-
import '../chunk-RIIVW6TQ.mjs';
|
|
17
|
-
import '../chunk-XRYLHTVV.mjs';
|
|
18
|
-
import '../chunk-E2NF4AQB.mjs';
|
|
19
|
-
import '../chunk-DOUF6NON.mjs';
|
|
20
|
-
import '../chunk-VYSOAGRU.mjs';
|
|
21
|
-
import '../chunk-U3GOWK6J.mjs';
|
|
22
|
-
import '../chunk-SWWLOD7Q.mjs';
|
|
23
|
-
import '../chunk-OHA5KJ2M.mjs';
|
|
24
|
-
import '../chunk-3NMGCQJ4.mjs';
|
|
25
|
-
//# sourceMappingURL=DynamicAuctionBuilder.mjs.map
|
|
26
|
-
//# sourceMappingURL=DynamicAuctionBuilder.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"DynamicAuctionBuilder.mjs"}
|