@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
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
type GeneratedDopplerDeployments = Record<string, Record<string, string>>;
|
|
3
|
-
/** @internal */
|
|
4
|
-
declare const GENERATED_DOPPLER_DEPLOYMENTS: {
|
|
5
|
-
readonly '1': {
|
|
6
|
-
readonly Airlock: "0xDe3599a2eC440B296373a983C85C365DA55d9dFA";
|
|
7
|
-
readonly CloneDERC20VotesV2: "0x4BBfed1c27CDE12eF6638251D81ab4e3be7556b7";
|
|
8
|
-
readonly CloneDERC20VotesV2Factory: "0x16F5ACB64F4FA17296E942C51d3395aDC318f9e1";
|
|
9
|
-
readonly CloneERC20: "0x215b2cE3Dd8D110394e94A868580D61a77aDEc4A";
|
|
10
|
-
readonly CloneERC20Factory: "0xe7Df2A4520C26a2D4Dedb3a7585BFBcd30eABA6e";
|
|
11
|
-
readonly CloneERC20Votes: "0xA8d0E8036D3fAE21C7Af075ad41942Bc1f807CDF";
|
|
12
|
-
readonly CloneERC20VotesFactory: "0x5A92bFfbc01ea0396A9c7D4154d36d4EAF2e483E";
|
|
13
|
-
readonly DopplerDeployer: "0xb35469ee64A87Afd19B31615094fE3962d73e421";
|
|
14
|
-
readonly DopplerHookInitializer: "0xAA096F558f3d4c9226De77E7Cc05f18E180B2544";
|
|
15
|
-
readonly DopplerHookMigrator: "0x65b6737C7A897029Afe54Dbb61bc4A84b232e0C4";
|
|
16
|
-
readonly NoOpGovernanceFactory: "0xddAE8B3eD08184682f7Bc32B74d943cEEfEab638";
|
|
17
|
-
readonly NoOpMigrator: "0x233A71A7bB928b1357A1Ebf454298320989Ca5B5";
|
|
18
|
-
readonly Quoter: "0x525B6c00E1d32677ccaEC5cF07E3045c0FE7102d";
|
|
19
|
-
readonly RehypeDopplerHook: "0x97cAD5684FB7Cc2bEd9a9b5eBfba67138F4f2503";
|
|
20
|
-
readonly RehypeDopplerHookMigrator: "0xd199E7836e91654c0475a90E0C1d0e402bB84372";
|
|
21
|
-
readonly StreamableFeesLocker: "0xe24FC2F7191e850e2D4514aBb4d39305b1871eC6";
|
|
22
|
-
readonly StreamableFeesLockerV2: "0xcE3212e6536F33cD6fbFEE265224131353Ca3D47";
|
|
23
|
-
readonly TopUpDistributor: "0xD8F05757B7d638a48Fd14e15EB6782bab50Ad57F";
|
|
24
|
-
readonly UniswapV2Locker: "0xA366D94eDA7abEc16bfa5619A855a6208bE3aEE9";
|
|
25
|
-
readonly UniswapV2Migrator: "0x765875bff87614cE0581ee73B9fa663B71F3DfF2";
|
|
26
|
-
readonly UniswapV4Initializer: "0x53b4c21a6Cb61D64F636ABBfa6E8E90E6558e8ad";
|
|
27
|
-
readonly UniswapV4Migrator: "0x0820A4D0173C17Ece283f7bDaAF0f8876eB205f5";
|
|
28
|
-
readonly UniswapV4MigratorHook: "0x4053D4fa966cbdCC20Ec62070aC8814De8bEE500";
|
|
29
|
-
readonly UniswapV4ScheduledMulticurveInitializer: "0xF84378C9F39e0FF267f3101c88773359c5393876";
|
|
30
|
-
readonly UniswapV4ScheduledMulticurveInitializerHook: "0xc6a562cb5CbFA29BCB1bDCCF903b8B8f2E4A2DC0";
|
|
31
|
-
};
|
|
32
|
-
readonly '130': {
|
|
33
|
-
readonly Airlock: "0x77EbfBAE15AD200758E9E2E61597c0B07d731254";
|
|
34
|
-
readonly Bundler: "0x91231cDdD8d6C86Df602070a3081478e074b97b7";
|
|
35
|
-
readonly DopplerDeployer: "0x0d2f38d807bfAd5C18e430516e10ab560D300caF";
|
|
36
|
-
readonly DopplerLensQuoter: "0x82Ac010C67f70BACf7655cd8948a4AD92A173CAC";
|
|
37
|
-
readonly GovernanceFactory: "0x99C94B9Df930E1E21a4E4a2c105dBff21bF5c5aE";
|
|
38
|
-
readonly LockableUniswapV3Initializer: "0xA3C847eAb58eAa9cbc215C785c9cfBc19CDABD5f";
|
|
39
|
-
readonly NoOpGovernanceFactory: "0x3AD727ee0FBBb8Ee0920933FdB96F23fD56f1299";
|
|
40
|
-
readonly NoOpMigrator: "0x917da361072ce968acD810BbfC9B64079426ebf0";
|
|
41
|
-
readonly StreamableFeesLocker: "0x6ddfED58D238Ca3195E49d8ac3d4cEa6386E5C33";
|
|
42
|
-
readonly TokenFactory: "0x43d0D97EC9241A8F05A264f94B82A1d2E600f2B3";
|
|
43
|
-
readonly TokenFactory80: "0xf0B5141dD9096254B2ca624dff26024f46087229";
|
|
44
|
-
readonly UniswapV2Migrator: "0xf6023127f6E937091D5B605680056A6D27524bad";
|
|
45
|
-
readonly UniswapV3Initializer: "0x9F4e56be80f08ba1A2445645EFa6d231E27b43ec";
|
|
46
|
-
readonly UniswapV4Initializer: "0x4B0EC16Eb40318Ca5A4346f20F04A2285C19675B";
|
|
47
|
-
readonly UniswapV4Migrator: "0x49F3fBB2dFF7f3d03B622e3b2a6d3F2E6fdB2a5A";
|
|
48
|
-
readonly UniswapV4MigratorHook: "0x53C050d3B09C80024138165520Bd7c078D9e2000";
|
|
49
|
-
};
|
|
50
|
-
readonly '143': {
|
|
51
|
-
readonly Airlock: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12";
|
|
52
|
-
readonly Bundler: "0xC99b485499f78995C6F1640dbB1413c57f8BA684";
|
|
53
|
-
readonly CloneDERC20VotesV2: "0x4BBfed1c27CDE12eF6638251D81ab4e3be7556b7";
|
|
54
|
-
readonly CloneDERC20VotesV2Factory: "0x16F5ACB64F4FA17296E942C51d3395aDC318f9e1";
|
|
55
|
-
readonly DopplerDeployer: "0xb35469ee64A87Afd19B31615094fE3962d73e421";
|
|
56
|
-
readonly DopplerHookInitializer: "0xAA096F558f3d4c9226De77E7Cc05f18E180B2544";
|
|
57
|
-
readonly DopplerHookMigrator: "0x65b6737C7A897029Afe54Dbb61bc4A84b232e0C4";
|
|
58
|
-
readonly GovernanceFactory: "0xFAafdE6a5b658684cC5eb0C5c2c755B00A246F45";
|
|
59
|
-
readonly LaunchpadGovernanceFactory: "0x5FBe931dc4B923A7abe4c47aD68d5bF9Eda5B76D";
|
|
60
|
-
readonly LockableUniswapV3Initializer: "0x8b4C7DB9121FC885689C0A50D5a1429F15AEc2a0";
|
|
61
|
-
readonly NoOpGovernanceFactory: "0xb4deE32EB70A5E55f3D2d861F49Fb3D79f7a14d9";
|
|
62
|
-
readonly NoOpMigrator: "0x5F3bA43D44375286296Cb85F1EA2EBfa25dde731";
|
|
63
|
-
readonly Quoter: "0x525B6c00E1d32677ccaEC5cF07E3045c0FE7102d";
|
|
64
|
-
readonly RehypeDopplerHook: "0x97cAD5684FB7Cc2bEd9a9b5eBfba67138F4f2503";
|
|
65
|
-
readonly RehypeDopplerHookMigrator: "0xd199E7836e91654c0475a90E0C1d0e402bB84372";
|
|
66
|
-
readonly StreamableFeesLocker: "0x63f8C8F9beFaab2FaCD7Ece0b0242f78B920Ee90";
|
|
67
|
-
readonly StreamableFeesLockerV2: "0xcE3212e6536F33cD6fbFEE265224131353Ca3D47";
|
|
68
|
-
readonly TimelockFactory: "0x44610355465c1F5914C8B8ea0E7c887CC67459b2";
|
|
69
|
-
readonly TokenFactory: "0xaA47D2977d622DBdFD33eeF6a8276727c52EB4e5";
|
|
70
|
-
readonly TokenFactory80: "0xf0B5141dD9096254B2ca624dff26024f46087229";
|
|
71
|
-
readonly TopUpDistributor: "0xD8F05757B7d638a48Fd14e15EB6782bab50Ad57F";
|
|
72
|
-
readonly UniswapV2Locker: "0x08Ab3f5D1177511C438a15b3bd5d8b172b6f715F";
|
|
73
|
-
readonly UniswapV2Migrator: "0x136191B46478cAB023cbC01a36160C4Aad81677a";
|
|
74
|
-
readonly UniswapV4Initializer: "0x53b4c21a6Cb61D64F636ABBfa6E8E90E6558e8ad";
|
|
75
|
-
readonly UniswapV4Migrator: "0x44bf742e57cd8cF23ABbc8dab2c44e2a3228356E";
|
|
76
|
-
readonly UniswapV4MigratorHook: "0x3E4c689BBf33b37106eBC13Db8aa5BF13a25e500";
|
|
77
|
-
readonly UniswapV4ScheduledMulticurveInitializer: "0xCe3099B2F07029b086E5e92a1573C5f5A3071783";
|
|
78
|
-
readonly UniswapV4ScheduledMulticurveInitializerHook: "0x580ca49389d83b019d07E17e99454f2F218e2dc0";
|
|
79
|
-
};
|
|
80
|
-
readonly '1301': {
|
|
81
|
-
readonly Airlock: "0x0d2f38d807bfAd5C18e430516e10ab560D300caF";
|
|
82
|
-
readonly AirlockMultisigTestnet: "0x0abCf819FD57C9f0141628410fFC273405E44426";
|
|
83
|
-
readonly Bundler: "0xED344444633B965cd148F8fFCE3765938A179094";
|
|
84
|
-
readonly DopplerDeployer: "0x77B5F559EE9cf3bfcf2fFf5731a84332D8eECAC9";
|
|
85
|
-
readonly DopplerLensQuoter: "0x917da361072ce968acD810BbfC9B64079426ebf0";
|
|
86
|
-
readonly GovernanceFactory: "0x4225C632b62622Bd7B0A3eC9745C0a866Ff94F6F";
|
|
87
|
-
readonly LockableUniswapV3Initializer: "0x9dFb775dB7b005d9Dc77DA84D8b2e42C281D0344";
|
|
88
|
-
readonly NoOpGovernanceFactory: "0x7E5D336A6E9e453c9f02E5102CC039E015Fd8fb8";
|
|
89
|
-
readonly NoOpMigrator: "0x193F48A45B6025dDeD10bc4BaeEF65c833696387";
|
|
90
|
-
readonly StreamableFeesLocker: "0x1728E8B3282502f275949109331E070b819B38eA";
|
|
91
|
-
readonly TokenFactory: "0x82Ac010C67f70BACf7655cd8948a4AD92A173CAC";
|
|
92
|
-
readonly TokenFactory80: "0xf0B5141dD9096254B2ca624dff26024f46087229";
|
|
93
|
-
readonly UniswapV2Migrator: "0x620e3fec244e913d73f2163623b62d02DB69638B";
|
|
94
|
-
readonly UniswapV3Initializer: "0xE0dC4012AC9C868F09c6e4b20d66ED46D6F258d0";
|
|
95
|
-
readonly UniswapV4Initializer: "0x70d20cd48791E527036491dc464C8Dc58351Dd93";
|
|
96
|
-
readonly UniswapV4Migrator: "0xb6D69eAA98E657bEEFF7ca4452768e6f707aa6b1";
|
|
97
|
-
readonly UniswapV4MigratorHook: "0xFB0671Ec46190b09255776d2D77744fa101Ba500";
|
|
98
|
-
readonly UniswapV4MulticurveInitializer: "0xac7939F1B4079d55A7fA4DFA314Ac0173A77bA40";
|
|
99
|
-
readonly UniswapV4MulticurveInitializerHook: "0x11b55A121a38FDab8FAF16f9f1A4f124E3f42d40";
|
|
100
|
-
readonly UniswapV4ScheduledMulticurveInitializer: "0xF84378C9F39e0FF267f3101c88773359c5393876";
|
|
101
|
-
readonly UniswapV4ScheduledMulticurveInitializerHook: "0xc6a562cb5CbFA29BCB1bDCCF903b8B8f2E4A2DC0";
|
|
102
|
-
};
|
|
103
|
-
readonly '4326': {
|
|
104
|
-
readonly Airlock: "0xDe3599a2eC440B296373a983C85C365DA55d9dFA";
|
|
105
|
-
readonly NoOpGovernanceFactory: "0xddAE8B3eD08184682f7Bc32B74d943cEEfEab638";
|
|
106
|
-
readonly NoOpMigrator: "0x233A71A7bB928b1357A1Ebf454298320989Ca5B5";
|
|
107
|
-
};
|
|
108
|
-
readonly '4801': {
|
|
109
|
-
readonly Airlock: "0x5F3bA43D44375286296Cb85F1EA2EBfa25dde731";
|
|
110
|
-
readonly GovernanceFactory: "0x136191B46478cAB023cbC01a36160C4Aad81677a";
|
|
111
|
-
readonly TokenFactory: "0x5FBe931dc4B923A7abe4c47aD68d5bF9Eda5B76D";
|
|
112
|
-
readonly UniswapV2Migrator: "0x8b4C7DB9121FC885689C0A50D5a1429F15AEc2a0";
|
|
113
|
-
readonly UniswapV3Initializer: "0x9916Ec1c1E0462F6F8f7514e414F06bf001Ac82A";
|
|
114
|
-
readonly WETH: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12";
|
|
115
|
-
};
|
|
116
|
-
readonly '6343': {
|
|
117
|
-
readonly Airlock: "0xDe3599a2eC440B296373a983C85C365DA55d9dFA";
|
|
118
|
-
readonly NoOpGovernanceFactory: "0xddAE8B3eD08184682f7Bc32B74d943cEEfEab638";
|
|
119
|
-
readonly NoOpMigrator: "0x233A71A7bB928b1357A1Ebf454298320989Ca5B5";
|
|
120
|
-
};
|
|
121
|
-
readonly '8453': {
|
|
122
|
-
readonly Airlock: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12";
|
|
123
|
-
readonly Bundler: "0x136191B46478cAB023cbC01a36160C4Aad81677a";
|
|
124
|
-
readonly CloneDERC20VotesV2: "0x4BBfed1c27CDE12eF6638251D81ab4e3be7556b7";
|
|
125
|
-
readonly CloneDERC20VotesV2Factory: "0x16F5ACB64F4FA17296E942C51d3395aDC318f9e1";
|
|
126
|
-
readonly DecayMulticurveInitializer: "0xD59cE43E53D69F190E15d9822Fb4540dCcc91178";
|
|
127
|
-
readonly DecayMulticurveInitializerHook: "0xbB7784A4d481184283Ed89619A3e3ed143e1Adc0";
|
|
128
|
-
readonly DopplerDeployer: "0xb35469ee64A87Afd19B31615094fE3962d73e421";
|
|
129
|
-
readonly DopplerHookInitializer: "0xAA096F558f3d4c9226De77E7Cc05f18E180B2544";
|
|
130
|
-
readonly DopplerHookMigrator: "0x65b6737C7A897029Afe54Dbb61bc4A84b232e0C4";
|
|
131
|
-
readonly DopplerLensQuoter: "0x43d0D97EC9241A8F05A264f94B82A1d2E600f2B3";
|
|
132
|
-
readonly GovernanceFactory: "0xa82c66b6ddEb92089015C3565E05B5c9750b2d4B";
|
|
133
|
-
readonly LaunchpadGovernanceFactory: "0x40Bcb4dDA3BcF7dba30C5d10c31EE2791ed9ddCa";
|
|
134
|
-
readonly LockableUniswapV3Initializer: "0xE0dC4012AC9C868F09c6e4b20d66ED46D6F258d0";
|
|
135
|
-
readonly NoOpGovernanceFactory: "0x3AD727ee0FBBb8Ee0920933FdB96F23fD56f1299";
|
|
136
|
-
readonly NoOpMigrator: "0x6ddfED58D238Ca3195E49d8ac3d4cEa6386E5C33";
|
|
137
|
-
readonly Quoter: "0x525B6c00E1d32677ccaEC5cF07E3045c0FE7102d";
|
|
138
|
-
readonly RehypeDopplerHook: "0x97cAD5684FB7Cc2bEd9a9b5eBfba67138F4f2503";
|
|
139
|
-
readonly RehypeDopplerHookMigrator: "0xd199E7836e91654c0475a90E0C1d0e402bB84372";
|
|
140
|
-
readonly StreamableFeesLocker: "0x0A00775D71a42cd33D62780003035e7F5b47bD3A";
|
|
141
|
-
readonly StreamableFeesLockerV2: "0xcE3212e6536F33cD6fbFEE265224131353Ca3D47";
|
|
142
|
-
readonly TokenFactory: "0x4225C632b62622Bd7B0A3eC9745C0a866Ff94F6F";
|
|
143
|
-
readonly TokenFactory80: "0xf0B5141dD9096254B2ca624dff26024f46087229";
|
|
144
|
-
readonly TopUpDistributor: "0xD8F05757B7d638a48Fd14e15EB6782bab50Ad57F";
|
|
145
|
-
readonly UniswapV2Migrator: "0x5F3bA43D44375286296Cb85F1EA2EBfa25dde731";
|
|
146
|
-
readonly UniswapV3Initializer: "0xaA47D2977d622DBdFD33eeF6a8276727c52EB4e5";
|
|
147
|
-
readonly UniswapV4Initializer: "0x53b4c21a6Cb61D64F636ABBfa6E8E90E6558e8ad";
|
|
148
|
-
readonly UniswapV4Migrator: "0xd3B4cF7FD24381e90A4F012fC6c5976b87B9B3cE";
|
|
149
|
-
readonly UniswapV4MigratorHook: "0xD6FECFF347c6203A41874e8D77dE669B54e7A500";
|
|
150
|
-
readonly UniswapV4MulticurveInitializer: "0x65dE470Da664A5be139A5D812bE5FDa0d76CC951";
|
|
151
|
-
readonly UniswapV4MulticurveInitializerHook: "0x892D3C2B4ABEAAF67d52A7B29783E2161B7CaD40";
|
|
152
|
-
readonly UniswapV4ScheduledMulticurveInitializer: "0xA36715dA46Ddf4A769f3290f49AF58bF8132ED8E";
|
|
153
|
-
readonly UniswapV4ScheduledMulticurveInitializerHook: "0x3e342a06f9592459D75721d6956B570F02eF2Dc0";
|
|
154
|
-
};
|
|
155
|
-
readonly '10143': {
|
|
156
|
-
readonly Airlock: "0xDe3599a2eC440B296373a983C85C365DA55d9dFA";
|
|
157
|
-
readonly AirlockMultisigTestnet: "0x0abCf819FD57C9f0141628410fFC273405E44426";
|
|
158
|
-
readonly Bundler: "0xf6023127f6E937091D5B605680056A6D27524bad";
|
|
159
|
-
readonly DopplerDeployer: "0xb35469ee64A87Afd19B31615094fE3962d73e421";
|
|
160
|
-
readonly DopplerLensQuoter: "0x2F2BAcd46d3F5c9EE052Ab392b73711dB89129DB";
|
|
161
|
-
readonly GovernanceFactory: "0x014E1c0bd34f3B10546E554CB33B3293fECDD056";
|
|
162
|
-
readonly LockableUniswapV3Initializer: "0x99C94B9Df930E1E21a4E4a2c105dBff21bF5c5aE";
|
|
163
|
-
readonly NoOpGovernanceFactory: "0x094D926A969B3024ca46D2186BF13FD5CDBA9CE2";
|
|
164
|
-
readonly NoOpMigrator: "0x5CadB034267751a364dDD4d321C99E07A307f915";
|
|
165
|
-
readonly StreamableFeesLocker: "0x0d2f38d807bfAd5C18e430516e10ab560D300caF";
|
|
166
|
-
readonly TimelockFactory: "0xB544F6fFF61F601F638C3930F6Aec4bbD7DA42b9";
|
|
167
|
-
readonly TokenFactory: "0x8AF018e28c273826e6b2d5a99e81c8fB63729b07";
|
|
168
|
-
readonly TokenFactory80: "0xf0B5141dD9096254B2ca624dff26024f46087229";
|
|
169
|
-
readonly UniswapV2Locker: "0xfF3e891F2C1389eF638F9b0576003590aeEe1844";
|
|
170
|
-
readonly UniswapV2Migrator: "0x43d0D97EC9241A8F05A264f94B82A1d2E600f2B3";
|
|
171
|
-
readonly UniswapV3Initializer: "0x9F4e56be80f08ba1A2445645EFa6d231E27b43ec";
|
|
172
|
-
readonly UniswapV4Initializer: "0x53b4c21a6Cb61D64F636ABBfa6E8E90E6558e8ad";
|
|
173
|
-
readonly UniswapV4Migrator: "0x4B0EC16Eb40318Ca5A4346f20F04A2285C19675B";
|
|
174
|
-
readonly UniswapV4MigratorHook: "0x76E1f507592d9856B48482c599732d129eD6a500";
|
|
175
|
-
readonly UniswapV4MulticurveInitializer: "0xA3C847eAb58eAa9cbc215C785c9cfBc19CDABD5f";
|
|
176
|
-
readonly UniswapV4MulticurveInitializerHook: "0xFaF16d11737E6552156DD328cD26C530e1da2D40";
|
|
177
|
-
readonly WETH: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12";
|
|
178
|
-
};
|
|
179
|
-
readonly '57073': {
|
|
180
|
-
readonly Airlock: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12";
|
|
181
|
-
readonly Bundler: "0x136191B46478cAB023cbC01a36160C4Aad81677a";
|
|
182
|
-
readonly DopplerDeployer: "0xa82c66b6ddEb92089015C3565E05B5c9750b2d4B";
|
|
183
|
-
readonly DopplerLensQuoter: "0x8AF018e28c273826e6b2d5a99e81c8fB63729b07";
|
|
184
|
-
readonly GovernanceFactory: "0xb4deE32EB70A5E55f3D2d861F49Fb3D79f7a14d9";
|
|
185
|
-
readonly TokenFactory: "0xFAafdE6a5b658684cC5eb0C5c2c755B00A246F45";
|
|
186
|
-
readonly UniswapV2Migrator: "0x5F3bA43D44375286296Cb85F1EA2EBfa25dde731";
|
|
187
|
-
readonly UniswapV3Initializer: "0xaA47D2977d622DBdFD33eeF6a8276727c52EB4e5";
|
|
188
|
-
readonly UniswapV4Initializer: "0x014E1c0bd34f3B10546E554CB33B3293fECDD056";
|
|
189
|
-
};
|
|
190
|
-
readonly '84532': {
|
|
191
|
-
readonly Airlock: "0x3411306Ce66c9469BFF1535BA955503c4Bde1C6e";
|
|
192
|
-
readonly AirlockMultisigTestnet: "0x0abCf819FD57C9f0141628410fFC273405E44426";
|
|
193
|
-
readonly BasicMultisig: "0x6f645FA08B7eadAD620CEC85634204b1d7A46DC2";
|
|
194
|
-
readonly Bundler: "0xab7BACB0d5C2C10152f92D34e07F530EB3CB0Fb1";
|
|
195
|
-
readonly CloneDERC20VotesV2: "0x4BBfed1c27CDE12eF6638251D81ab4e3be7556b7";
|
|
196
|
-
readonly CloneDERC20VotesV2Factory: "0x16F5ACB64F4FA17296E942C51d3395aDC318f9e1";
|
|
197
|
-
readonly CloneERC20: "0xE7F1Cc50CCa68975eD6E56Ee4b0Aaf171D02732A";
|
|
198
|
-
readonly CloneERC20Factory: "0xbf4Ca4D527c9760A884df31292f72E9AcA503045";
|
|
199
|
-
readonly CloneERC20Votes: "0x52831E40151a79FE2e74549b0974d44A10Ac30aD";
|
|
200
|
-
readonly CloneERC20VotesFactory: "0x9a497a9fB78e49984B9d260abA1F4AD6321D4D92";
|
|
201
|
-
readonly DecayMulticurveInitializer: "0xD59cE43E53D69F190E15d9822Fb4540dCcc91178";
|
|
202
|
-
readonly DecayMulticurveInitializerHook: "0xbB7784A4d481184283Ed89619A3e3ed143e1Adc0";
|
|
203
|
-
readonly DopplerDeployer: "0xb35469ee64A87Afd19B31615094fE3962d73e421";
|
|
204
|
-
readonly DopplerHookInitializer: "0xAA096F558f3d4c9226De77E7Cc05f18E180B2544";
|
|
205
|
-
readonly DopplerHookMigrator: "0x8bBbE586F9A902c15A759FC134A99a2d28bc20c4";
|
|
206
|
-
readonly DopplerLensQuoter: "0x4a8d81Db741248a36D9eb3bc6eF648Bf798B47a7";
|
|
207
|
-
readonly GovernanceFactory: "0x9dBFaaDC8c0cB2c34bA698DD9426555336992e20";
|
|
208
|
-
readonly LockableUniswapV3Initializer: "0x16AdA5Be50C3c2D94Af5fEae6b539C40A78Ad53c";
|
|
209
|
-
readonly MulticurveLibrary: "0x32238a39ba5aF060EFbfAda59979B639E0945fE0";
|
|
210
|
-
readonly NoOpGovernanceFactory: "0x7bD798fafC99A3b17E261F8308A8C11B56935ea1";
|
|
211
|
-
readonly NoOpMigrator: "0xF11066abbd329ac4bBA39455340539322C222eb0";
|
|
212
|
-
readonly Quoter: "0x525B6c00E1d32677ccaEC5cF07E3045c0FE7102d";
|
|
213
|
-
readonly RehypeDopplerHook: "0x97cAD5684FB7Cc2bEd9a9b5eBfba67138F4f2503";
|
|
214
|
-
readonly RehypeDopplerHookMigrator: "0xd199E7836e91654c0475a90E0C1d0e402bB84372";
|
|
215
|
-
readonly StreamableFeesLocker: "0x3345E557c5C0b474bE1eb4693264008B8562Aa9c";
|
|
216
|
-
readonly TeamGovernanceFactory: "0x8aF3001ED75F86f4Dd910577ECa9C5dB7CEa765c";
|
|
217
|
-
readonly TokenFactory: "0x9D8fd79B2a59c5d91ccBd79c3AEb4de56451Bb02";
|
|
218
|
-
readonly TokenFactory80: "0xf0B5141dD9096254B2ca624dff26024f46087229";
|
|
219
|
-
readonly TopUpDistributor: "0xD8F05757B7d638a48Fd14e15EB6782bab50Ad57F";
|
|
220
|
-
readonly UniswapV2Locker: "0x78500ab9297aD87b1f6A0329e6af226F73886a5D";
|
|
221
|
-
readonly UniswapV2Migrator: "0x04a898f3722c38F9Def707bD17DC78920EFA977C";
|
|
222
|
-
readonly UniswapV2MigratorSplit: "0x935D94FcbBbA9BE1184953BF0B93E4D844cd0335";
|
|
223
|
-
readonly UniswapV3Initializer: "0x4C3062B9ccFdbCB10353F57C1B59a29d4c5CFa47";
|
|
224
|
-
readonly UniswapV4Initializer: "0x53b4c21a6Cb61D64F636ABBfa6E8E90E6558e8ad";
|
|
225
|
-
readonly UniswapV4Migrator: "0xEEe0eCCb54398ce371CAACBCEf076d3Ed597DDb3";
|
|
226
|
-
readonly UniswapV4MigratorHook: "0x127cAAAd598Ffa97577940b0a5c3b6150019E500";
|
|
227
|
-
readonly UniswapV4MigratorSplit: "0xC647fED0746cc14fBF645aEDa15CC40B18505490";
|
|
228
|
-
readonly UniswapV4MigratorSplitHook: "0x20e03085adBcfCB840De898F37617ABD08da2500";
|
|
229
|
-
readonly UniswapV4MulticurveInitializer: "0x1718405E58c61425cDc0083262bC9f72198F5232";
|
|
230
|
-
readonly UniswapV4MulticurveInitializerHook: "0x6a1061FC558dDe1E6fD0eFd641b370d435b56d40";
|
|
231
|
-
readonly UniswapV4ScheduledMulticurveInitializer: "0xF84378C9F39e0FF267f3101c88773359c5393876";
|
|
232
|
-
readonly UniswapV4ScheduledMulticurveInitializerHook: "0xc6a562cb5CbFA29BCB1bDCCF903b8B8f2E4A2DC0";
|
|
233
|
-
readonly WETH: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12";
|
|
234
|
-
};
|
|
235
|
-
readonly '11155111': {
|
|
236
|
-
readonly Airlock: "0xDe3599a2eC440B296373a983C85C365DA55d9dFA";
|
|
237
|
-
readonly AirlockMultisigTestnet: "0x0abCf819FD57C9f0141628410fFC273405E44426";
|
|
238
|
-
readonly CloneDERC20VotesV2: "0x4BBfed1c27CDE12eF6638251D81ab4e3be7556b7";
|
|
239
|
-
readonly CloneDERC20VotesV2Factory: "0x16F5ACB64F4FA17296E942C51d3395aDC318f9e1";
|
|
240
|
-
readonly CloneERC20: "0x215b2cE3Dd8D110394e94A868580D61a77aDEc4A";
|
|
241
|
-
readonly CloneERC20Factory: "0xe7Df2A4520C26a2D4Dedb3a7585BFBcd30eABA6e";
|
|
242
|
-
readonly CloneERC20Votes: "0xA8d0E8036D3fAE21C7Af075ad41942Bc1f807CDF";
|
|
243
|
-
readonly CloneERC20VotesFactory: "0x5A92bFfbc01ea0396A9c7D4154d36d4EAF2e483E";
|
|
244
|
-
readonly DecayMulticurveInitializer: "0xD59cE43E53D69F190E15d9822Fb4540dCcc91178";
|
|
245
|
-
readonly DecayMulticurveInitializerHook: "0xbB7784A4d481184283Ed89619A3e3ed143e1Adc0";
|
|
246
|
-
readonly DopplerDeployer: "0xb35469ee64A87Afd19B31615094fE3962d73e421";
|
|
247
|
-
readonly DopplerHookInitializer: "0xAA096F558f3d4c9226De77E7Cc05f18E180B2544";
|
|
248
|
-
readonly DopplerHookMigrator: "0x65b6737C7A897029Afe54Dbb61bc4A84b232e0C4";
|
|
249
|
-
readonly NoOpGovernanceFactory: "0xddAE8B3eD08184682f7Bc32B74d943cEEfEab638";
|
|
250
|
-
readonly NoOpMigrator: "0x233A71A7bB928b1357A1Ebf454298320989Ca5B5";
|
|
251
|
-
readonly Quoter: "0x525B6c00E1d32677ccaEC5cF07E3045c0FE7102d";
|
|
252
|
-
readonly RehypeDopplerHook: "0x97cAD5684FB7Cc2bEd9a9b5eBfba67138F4f2503";
|
|
253
|
-
readonly RehypeDopplerHookMigrator: "0xd199E7836e91654c0475a90E0C1d0e402bB84372";
|
|
254
|
-
readonly StreamableFeesLocker: "0xe24FC2F7191e850e2D4514aBb4d39305b1871eC6";
|
|
255
|
-
readonly StreamableFeesLockerV2: "0xcE3212e6536F33cD6fbFEE265224131353Ca3D47";
|
|
256
|
-
readonly TopUpDistributor: "0xD8F05757B7d638a48Fd14e15EB6782bab50Ad57F";
|
|
257
|
-
readonly UniswapV2Locker: "0xA366D94eDA7abEc16bfa5619A855a6208bE3aEE9";
|
|
258
|
-
readonly UniswapV2Migrator: "0x765875bff87614cE0581ee73B9fa663B71F3DfF2";
|
|
259
|
-
readonly UniswapV4Initializer: "0x53b4c21a6Cb61D64F636ABBfa6E8E90E6558e8ad";
|
|
260
|
-
readonly UniswapV4Migrator: "0x0820A4D0173C17Ece283f7bDaAF0f8876eB205f5";
|
|
261
|
-
readonly UniswapV4MigratorHook: "0x4053D4fa966cbdCC20Ec62070aC8814De8bEE500";
|
|
262
|
-
readonly UniswapV4ScheduledMulticurveInitializer: "0xF84378C9F39e0FF267f3101c88773359c5393876";
|
|
263
|
-
readonly UniswapV4ScheduledMulticurveInitializerHook: "0xc6a562cb5CbFA29BCB1bDCCF903b8B8f2E4A2DC0";
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
export { GENERATED_DOPPLER_DEPLOYMENTS, type GeneratedDopplerDeployments };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkDNB3T5P2_js = require('./chunk-DNB3T5P2.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "GENERATED_DOPPLER_DEPLOYMENTS", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkDNB3T5P2_js.GENERATED_DOPPLER_DEPLOYMENTS; }
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=deployments.generated.js.map
|
|
12
|
-
//# sourceMappingURL=deployments.generated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"deployments.generated.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"deployments.generated.mjs"}
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import { WalletClient, Hex, Address, Hash } from 'viem';
|
|
2
|
-
import { SupportedPublicClient, MigrationConfig, CreateStaticAuctionParams, CreateParams, CreateDynamicAuctionParams, CreateMulticurveParams, MulticurveBundleExactOutResult, MulticurveBundleExactInResult } from '../types.mjs';
|
|
3
|
-
import { SupportedChainId } from '../addresses.mjs';
|
|
4
|
-
import 'viem/chains';
|
|
5
|
-
|
|
6
|
-
type MigrationEncoder = (config: MigrationConfig) => Hex;
|
|
7
|
-
declare class DopplerFactory<C extends SupportedChainId = SupportedChainId> {
|
|
8
|
-
private publicClient;
|
|
9
|
-
private walletClient?;
|
|
10
|
-
private chainId;
|
|
11
|
-
private customMigrationEncoder?;
|
|
12
|
-
private multicurveBundlerSupport;
|
|
13
|
-
constructor(publicClient: SupportedPublicClient, walletClient: WalletClient | undefined, chainId: C);
|
|
14
|
-
/**
|
|
15
|
-
* Set a custom migration data encoder function
|
|
16
|
-
* @param encoder Custom function to encode migration data
|
|
17
|
-
* @returns The factory instance for method chaining
|
|
18
|
-
*/
|
|
19
|
-
withCustomMigrationEncoder(encoder: MigrationEncoder): this;
|
|
20
|
-
encodeCreateStaticAuctionParams(params: CreateStaticAuctionParams<C>): Promise<CreateParams>;
|
|
21
|
-
/**
|
|
22
|
-
* Simulate a static auction creation and return predicted addresses.
|
|
23
|
-
* Useful for pre-buy flows (bundle) to know the token/pool before sending.
|
|
24
|
-
*/
|
|
25
|
-
simulateCreateStaticAuction(params: CreateStaticAuctionParams<C>): Promise<{
|
|
26
|
-
createParams: CreateParams;
|
|
27
|
-
asset: Address;
|
|
28
|
-
pool: Address;
|
|
29
|
-
gasEstimate?: bigint;
|
|
30
|
-
/** Execute the create with the same params used in simulation (guarantees address match) */
|
|
31
|
-
execute: () => Promise<{
|
|
32
|
-
poolAddress: Address;
|
|
33
|
-
tokenAddress: Address;
|
|
34
|
-
transactionHash: string;
|
|
35
|
-
}>;
|
|
36
|
-
}>;
|
|
37
|
-
/**
|
|
38
|
-
* Create a new static auction (using Uniswap V3 for initial liquidity)
|
|
39
|
-
* @param params Configuration for the static auction
|
|
40
|
-
* @returns The address of the created pool and token
|
|
41
|
-
*/
|
|
42
|
-
createStaticAuction(params: CreateStaticAuctionParams<C>, options?: {
|
|
43
|
-
_createParams?: CreateParams;
|
|
44
|
-
}): Promise<{
|
|
45
|
-
poolAddress: Address;
|
|
46
|
-
tokenAddress: Address;
|
|
47
|
-
transactionHash: string;
|
|
48
|
-
}>;
|
|
49
|
-
/**
|
|
50
|
-
* Generate a random salt based on user address
|
|
51
|
-
*/
|
|
52
|
-
private generateRandomSalt;
|
|
53
|
-
/**
|
|
54
|
-
* Extract actual deployed addresses from Create event logs.
|
|
55
|
-
* This is the source of truth - what actually deployed on-chain.
|
|
56
|
-
* @param receipt Transaction receipt containing logs
|
|
57
|
-
* @returns Token and pool/hook addresses from the Create event, or null if not found
|
|
58
|
-
*/
|
|
59
|
-
private extractAddressesFromCreateEvent;
|
|
60
|
-
/**
|
|
61
|
-
* Iteratively mine a salt that ensures the newly created token sorts after the numeraire.
|
|
62
|
-
* This mirrors the legacy SDK behaviour so tick configuration can assume the numeraire is token0.
|
|
63
|
-
*/
|
|
64
|
-
private mineTokenOrder;
|
|
65
|
-
encodeCreateDynamicAuctionParams(params: CreateDynamicAuctionParams<C>): Promise<{
|
|
66
|
-
createParams: CreateParams;
|
|
67
|
-
hookAddress: Address;
|
|
68
|
-
tokenAddress: Address;
|
|
69
|
-
}>;
|
|
70
|
-
/**
|
|
71
|
-
* Create a new dynamic auction (using Uniswap V4 hook for gradual Dutch auction)
|
|
72
|
-
* @param params Configuration for the dynamic auction
|
|
73
|
-
* @returns The address of the created hook and token
|
|
74
|
-
*/
|
|
75
|
-
createDynamicAuction(params: CreateDynamicAuctionParams<C>, options?: {
|
|
76
|
-
_createParams?: CreateParams;
|
|
77
|
-
}): Promise<{
|
|
78
|
-
hookAddress: Address;
|
|
79
|
-
tokenAddress: Address;
|
|
80
|
-
poolId: string;
|
|
81
|
-
transactionHash: string;
|
|
82
|
-
}>;
|
|
83
|
-
/**
|
|
84
|
-
* Simulate a dynamic auction creation and return predicted addresses and poolId.
|
|
85
|
-
* Useful for clients that need the hook/token/poolId before submitting the tx.
|
|
86
|
-
*/
|
|
87
|
-
simulateCreateDynamicAuction(params: CreateDynamicAuctionParams<C>): Promise<{
|
|
88
|
-
createParams: CreateParams;
|
|
89
|
-
hookAddress: Address;
|
|
90
|
-
tokenAddress: Address;
|
|
91
|
-
poolId: string;
|
|
92
|
-
gasEstimate?: bigint;
|
|
93
|
-
/** Execute the create with the same params used in simulation (guarantees address match) */
|
|
94
|
-
execute: () => Promise<{
|
|
95
|
-
hookAddress: Address;
|
|
96
|
-
tokenAddress: Address;
|
|
97
|
-
poolId: string;
|
|
98
|
-
transactionHash: string;
|
|
99
|
-
}>;
|
|
100
|
-
}>;
|
|
101
|
-
private resolveCreateGasEstimate;
|
|
102
|
-
private isDoppler404Token;
|
|
103
|
-
/**
|
|
104
|
-
* Encode migration data based on the MigrationConfig
|
|
105
|
-
* This replaces the manual encoding methods from the old SDKs
|
|
106
|
-
*/
|
|
107
|
-
private encodeMigrationData;
|
|
108
|
-
/**
|
|
109
|
-
* Encode create params for Uniswap V4 Multicurve initializer/migrator flow
|
|
110
|
-
*/
|
|
111
|
-
private normalizeUint32;
|
|
112
|
-
private resolveMulticurveInitializerMode;
|
|
113
|
-
encodeCreateMulticurveParams(params: CreateMulticurveParams<C>): CreateParams;
|
|
114
|
-
simulateCreateMulticurve(params: CreateMulticurveParams<C>): Promise<{
|
|
115
|
-
createParams: CreateParams;
|
|
116
|
-
tokenAddress: Address;
|
|
117
|
-
poolId: Hex;
|
|
118
|
-
gasEstimate?: bigint;
|
|
119
|
-
/** Execute the create with the same params used in simulation (guarantees address match) */
|
|
120
|
-
execute: () => Promise<{
|
|
121
|
-
tokenAddress: Address;
|
|
122
|
-
poolId: Hex;
|
|
123
|
-
transactionHash: string;
|
|
124
|
-
}>;
|
|
125
|
-
}>;
|
|
126
|
-
createMulticurve(params: CreateMulticurveParams<C>, options?: {
|
|
127
|
-
_createParams?: CreateParams;
|
|
128
|
-
}): Promise<{
|
|
129
|
-
tokenAddress: Address;
|
|
130
|
-
poolId: Hex;
|
|
131
|
-
transactionHash: string;
|
|
132
|
-
}>;
|
|
133
|
-
/**
|
|
134
|
-
* Normalize user-provided multicurve positions and ensure they satisfy SDK constraints
|
|
135
|
-
*/
|
|
136
|
-
private normalizeMulticurveCurves;
|
|
137
|
-
private roundMaxTickDown;
|
|
138
|
-
private validateStaticAuctionParams;
|
|
139
|
-
/**
|
|
140
|
-
* Validate dynamic auction parameters
|
|
141
|
-
*/
|
|
142
|
-
private validateDynamicAuctionParams;
|
|
143
|
-
/**
|
|
144
|
-
* Validate multicurve auction parameters
|
|
145
|
-
*/
|
|
146
|
-
private validateMulticurveParams;
|
|
147
|
-
/**
|
|
148
|
-
* Get the airlock contract address for the current chain
|
|
149
|
-
*/
|
|
150
|
-
private getAirlockAddress;
|
|
151
|
-
/**
|
|
152
|
-
* Get the appropriate initializer address based on auction type
|
|
153
|
-
*/
|
|
154
|
-
private getInitializerAddress;
|
|
155
|
-
/**
|
|
156
|
-
* Get the Bundler contract address for the current chain
|
|
157
|
-
* Used to perform atomic create + swap ("bundle") flows for static auctions
|
|
158
|
-
*/
|
|
159
|
-
private getBundlerAddress;
|
|
160
|
-
/**
|
|
161
|
-
* Get the appropriate migrator address based on migration config
|
|
162
|
-
* Allows override via ModuleAddressOverrides when provided in params.
|
|
163
|
-
*/
|
|
164
|
-
private getMigratorAddress;
|
|
165
|
-
/**
|
|
166
|
-
* Simulate a bundle with exact input on Uniswap V3 as part of create
|
|
167
|
-
* Returns the expected output amount for the provided exact input.
|
|
168
|
-
*/
|
|
169
|
-
simulateBundleExactInput(createParams: CreateParams, params: {
|
|
170
|
-
tokenIn: Address;
|
|
171
|
-
tokenOut: Address;
|
|
172
|
-
amountIn: bigint;
|
|
173
|
-
fee: number;
|
|
174
|
-
sqrtPriceLimitX96: bigint;
|
|
175
|
-
}): Promise<bigint>;
|
|
176
|
-
/**
|
|
177
|
-
* Simulate a bundle with exact output on Uniswap V3 as part of create
|
|
178
|
-
* Returns the required input amount for the provided exact output.
|
|
179
|
-
*/
|
|
180
|
-
simulateBundleExactOutput(createParams: CreateParams, params: {
|
|
181
|
-
tokenIn: Address;
|
|
182
|
-
tokenOut: Address;
|
|
183
|
-
amount: bigint;
|
|
184
|
-
fee: number;
|
|
185
|
-
sqrtPriceLimitX96: bigint;
|
|
186
|
-
}): Promise<bigint>;
|
|
187
|
-
simulateMulticurveBundleExactOut(createParams: CreateParams, params?: {
|
|
188
|
-
exactAmountOut?: bigint;
|
|
189
|
-
}): Promise<MulticurveBundleExactOutResult>;
|
|
190
|
-
simulateMulticurveBundleExactIn(createParams: CreateParams, params: {
|
|
191
|
-
exactAmountIn: bigint;
|
|
192
|
-
}): Promise<MulticurveBundleExactInResult>;
|
|
193
|
-
/**
|
|
194
|
-
* Execute an atomic create + swap bundle through the Bundler
|
|
195
|
-
* commands/inputs are Universal Router encoded values (e.g., from doppler-router)
|
|
196
|
-
*/
|
|
197
|
-
bundle(createParams: CreateParams, commands: Hex, inputs: Hex[], options?: {
|
|
198
|
-
gas?: bigint;
|
|
199
|
-
value?: bigint;
|
|
200
|
-
}): Promise<Hash>;
|
|
201
|
-
private ensureUint128;
|
|
202
|
-
private parseMulticurveBundleResult;
|
|
203
|
-
private normalizePoolKey;
|
|
204
|
-
/**
|
|
205
|
-
* Mines a salt and hook address with the appropriate flags
|
|
206
|
-
*
|
|
207
|
-
* This method iterates through possible salt values to find a combination that:
|
|
208
|
-
* - Produces a hook address with required Doppler flags
|
|
209
|
-
* - Maintains proper token ordering relative to numeraire
|
|
210
|
-
* - Ensures deterministic deployment addresses
|
|
211
|
-
*
|
|
212
|
-
* @param params - Parameters for hook address mining
|
|
213
|
-
* @returns Tuple of [salt, hook address, token address, pool data, token data]
|
|
214
|
-
* @throws {Error} If no valid salt can be found within the search limit
|
|
215
|
-
* @private
|
|
216
|
-
*/
|
|
217
|
-
private mineHookAddress;
|
|
218
|
-
/**
|
|
219
|
-
* Computes the CREATE2 address for a contract deployment
|
|
220
|
-
* @param salt - The salt used for deployment
|
|
221
|
-
* @param initCodeHash - Hash of the initialization code
|
|
222
|
-
* @param deployer - Address of the deploying contract
|
|
223
|
-
* @returns The computed contract address
|
|
224
|
-
* @private
|
|
225
|
-
*/
|
|
226
|
-
private computeCreate2Address;
|
|
227
|
-
/**
|
|
228
|
-
* Helper to convert hex string to Uint8Array
|
|
229
|
-
* @private
|
|
230
|
-
*/
|
|
231
|
-
private hexToBytes;
|
|
232
|
-
/**
|
|
233
|
-
* Helper to convert Uint8Array to hex string
|
|
234
|
-
* @private
|
|
235
|
-
*/
|
|
236
|
-
private bytesToHex;
|
|
237
|
-
/**
|
|
238
|
-
* Pre-compute CREATE2 buffer with constant prefix for fast mining
|
|
239
|
-
* Buffer layout: 0xff (1 byte) + deployer (20 bytes) + salt (32 bytes) + initCodeHash (32 bytes) = 85 bytes
|
|
240
|
-
* @private
|
|
241
|
-
*/
|
|
242
|
-
private prepareCreate2Buffer;
|
|
243
|
-
/**
|
|
244
|
-
* Update salt in pre-computed CREATE2 buffer (bytes 21-52)
|
|
245
|
-
* Uses direct byte manipulation instead of string conversion
|
|
246
|
-
* @private
|
|
247
|
-
*/
|
|
248
|
-
private updateSaltInBuffer;
|
|
249
|
-
/**
|
|
250
|
-
* Compute CREATE2 address from pre-computed buffer (fast version for mining)
|
|
251
|
-
* Returns raw lowercase address without checksum for comparison
|
|
252
|
-
* @private
|
|
253
|
-
*/
|
|
254
|
-
private computeCreate2AddressFast;
|
|
255
|
-
/**
|
|
256
|
-
* Compute V4 pool ID from pool key components
|
|
257
|
-
*/
|
|
258
|
-
private computePoolId;
|
|
259
|
-
/**
|
|
260
|
-
* Compute the V4 poolId for a multicurve pool by reading the hook address from the initializer
|
|
261
|
-
*/
|
|
262
|
-
private computeMulticurvePoolId;
|
|
263
|
-
private ensureMulticurveBundlerSupport;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
export { DopplerFactory, type MigrationEncoder };
|