@whetstone-research/doppler-sdk 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +553 -221
- package/dist/DopplerSDK.d.mts +12 -0
- package/dist/DopplerSDK.d.ts +12 -0
- package/dist/DopplerSDK.js +29 -26
- package/dist/DopplerSDK.mjs +28 -25
- package/dist/abis/bytecodes/derc20.js +2 -2
- package/dist/abis/bytecodes/derc20.mjs +1 -1
- package/dist/abis/bytecodes/derc2080.js +2 -2
- package/dist/abis/bytecodes/derc2080.mjs +1 -1
- package/dist/abis/bytecodes/doppler.js +2 -2
- package/dist/abis/bytecodes/doppler.mjs +1 -1
- package/dist/abis/bytecodes/dopplerDN404.js +2 -2
- package/dist/abis/bytecodes/dopplerDN404.mjs +1 -1
- package/dist/abis/bytecodes/stateView.js +2 -2
- package/dist/abis/bytecodes/stateView.mjs +1 -1
- package/dist/abis/bytecodes.js +10 -10
- package/dist/abis/bytecodes.mjs +5 -5
- package/dist/abis/index.d.mts +421 -10
- package/dist/abis/index.d.ts +421 -10
- package/dist/abis/index.js +41 -33
- package/dist/abis/index.mjs +6 -6
- package/dist/addresses.d.mts +6 -0
- package/dist/addresses.d.ts +6 -0
- package/dist/addresses.js +7 -7
- package/dist/addresses.mjs +2 -2
- package/dist/builders/DynamicAuctionBuilder.d.mts +2 -0
- package/dist/builders/DynamicAuctionBuilder.d.ts +2 -0
- package/dist/builders/DynamicAuctionBuilder.js +17 -16
- package/dist/builders/DynamicAuctionBuilder.mjs +16 -15
- package/dist/builders/MulticurveBuilder.d.mts +18 -5
- package/dist/builders/MulticurveBuilder.d.ts +18 -5
- package/dist/builders/MulticurveBuilder.js +17 -16
- package/dist/builders/MulticurveBuilder.mjs +16 -15
- package/dist/builders/StaticAuctionBuilder.js +17 -16
- package/dist/builders/StaticAuctionBuilder.mjs +16 -15
- package/dist/builders/index.js +25 -24
- package/dist/builders/index.mjs +18 -17
- package/dist/builders/shared.d.mts +1 -1
- package/dist/builders/shared.d.ts +1 -1
- package/dist/builders/shared.js +19 -17
- package/dist/builders/shared.mjs +15 -13
- package/dist/{chunk-3XYDN2XB.js → chunk-2A3B3NVB.js} +170 -25
- package/dist/chunk-2A3B3NVB.js.map +1 -0
- package/dist/{chunk-AZOBEWP3.mjs → chunk-3NMGCQJ4.mjs} +2 -2
- package/dist/chunk-3NMGCQJ4.mjs.map +1 -0
- package/dist/{chunk-CUB4F546.js → chunk-44CYUEPG.js} +25 -13
- package/dist/chunk-44CYUEPG.js.map +1 -0
- package/dist/{chunk-AZH2P4JK.mjs → chunk-5GQJRNFL.mjs} +3 -3
- package/dist/{chunk-AZH2P4JK.mjs.map → chunk-5GQJRNFL.mjs.map} +1 -1
- package/dist/{chunk-ZDTJ3BPS.js → chunk-5JHXBDZD.js} +20 -20
- package/dist/{chunk-ZDTJ3BPS.js.map → chunk-5JHXBDZD.js.map} +1 -1
- package/dist/{chunk-OGYWNJGI.js → chunk-5TQOT6CW.js} +2 -2
- package/dist/chunk-5TQOT6CW.js.map +1 -0
- package/dist/{chunk-COOVGAOE.js → chunk-65CESA3J.js} +19 -13
- package/dist/chunk-65CESA3J.js.map +1 -0
- package/dist/{chunk-5VV7STYK.js → chunk-7A4DBBXA.js} +141 -101
- package/dist/chunk-7A4DBBXA.js.map +1 -0
- package/dist/chunk-7ZUV6WPX.mjs +3 -0
- package/dist/{chunk-5TL5V6UX.mjs.map → chunk-7ZUV6WPX.mjs.map} +1 -1
- package/dist/{chunk-RXUJ4DUB.js → chunk-A2CJYRRQ.js} +28 -28
- package/dist/{chunk-RXUJ4DUB.js.map → chunk-A2CJYRRQ.js.map} +1 -1
- package/dist/{chunk-QQEOKYEX.js → chunk-BK3S6SVR.js} +383 -83
- package/dist/chunk-BK3S6SVR.js.map +1 -0
- package/dist/{chunk-S4IZ5ATO.js → chunk-BQZTELUX.js} +5 -5
- package/dist/{chunk-S4IZ5ATO.js.map → chunk-BQZTELUX.js.map} +1 -1
- package/dist/{chunk-WKKOBMXR.js → chunk-CFXXUZJY.js} +57 -22
- package/dist/chunk-CFXXUZJY.js.map +1 -0
- package/dist/chunk-DCWF3EMP.js +171 -0
- package/dist/chunk-DCWF3EMP.js.map +1 -0
- package/dist/{chunk-YWK6YH6M.mjs → chunk-DQJXCZU2.mjs} +5 -5
- package/dist/{chunk-YWK6YH6M.mjs.map → chunk-DQJXCZU2.mjs.map} +1 -1
- package/dist/chunk-DSYPZETD.js +4 -0
- package/dist/{chunk-3PNCB4W5.js.map → chunk-DSYPZETD.js.map} +1 -1
- package/dist/chunk-F2BYG63D.mjs +145 -0
- package/dist/chunk-F2BYG63D.mjs.map +1 -0
- package/dist/{chunk-N33R22A2.js → chunk-FNUBKONK.js} +2 -2
- package/dist/{chunk-N33R22A2.js.map → chunk-FNUBKONK.js.map} +1 -1
- package/dist/chunk-FXTGIKQG.mjs +3 -0
- package/dist/{chunk-SD7BHT2F.mjs.map → chunk-FXTGIKQG.mjs.map} +1 -1
- package/dist/{chunk-MQNSJCAW.mjs → chunk-GSBQIVME.mjs} +2 -2
- package/dist/{chunk-MQNSJCAW.mjs.map → chunk-GSBQIVME.mjs.map} +1 -1
- package/dist/{chunk-SAX7P3MH.js → chunk-HJFVRV47.js} +2 -2
- package/dist/{chunk-SAX7P3MH.js.map → chunk-HJFVRV47.js.map} +1 -1
- package/dist/chunk-IIM2CSDQ.js +147 -0
- package/dist/chunk-IIM2CSDQ.js.map +1 -0
- package/dist/{chunk-O3RH43H3.mjs → chunk-IUTIHSLH.mjs} +4 -4
- package/dist/{chunk-O3RH43H3.mjs.map → chunk-IUTIHSLH.mjs.map} +1 -1
- package/dist/chunk-IUZ3BBQP.mjs +117 -0
- package/dist/chunk-IUZ3BBQP.mjs.map +1 -0
- package/dist/{chunk-D7PCIMWU.mjs → chunk-IX4V4UGW.mjs} +4 -4
- package/dist/{chunk-D7PCIMWU.mjs.map → chunk-IX4V4UGW.mjs.map} +1 -1
- package/dist/{chunk-2ZM4JVFC.js → chunk-J62YDWIK.js} +2 -2
- package/dist/chunk-J62YDWIK.js.map +1 -0
- package/dist/{chunk-E2NF4AQB.mjs → chunk-JLUOFAE4.mjs} +272 -12
- package/dist/chunk-JLUOFAE4.mjs.map +1 -0
- package/dist/{chunk-KITPRKQ4.mjs → chunk-LW3CYA27.mjs} +351 -51
- package/dist/chunk-LW3CYA27.mjs.map +1 -0
- package/dist/{chunk-3L4DLMOK.js → chunk-MEA2C5YX.js} +16 -16
- package/dist/{chunk-3L4DLMOK.js.map → chunk-MEA2C5YX.js.map} +1 -1
- package/dist/{chunk-3MVW6UIW.js → chunk-MU56HCUI.js} +273 -11
- package/dist/chunk-MU56HCUI.js.map +1 -0
- package/dist/chunk-OCIY7QEJ.mjs +169 -0
- package/dist/chunk-OCIY7QEJ.mjs.map +1 -0
- package/dist/{chunk-WDSV4O6T.mjs → chunk-OHA5KJ2M.mjs} +2 -2
- package/dist/chunk-OHA5KJ2M.mjs.map +1 -0
- package/dist/{chunk-MT34O3YL.js → chunk-P563HTVU.js} +50 -26
- package/dist/chunk-P563HTVU.js.map +1 -0
- package/dist/{chunk-RLUMYHPI.js → chunk-PGYTMRP3.js} +46 -18
- package/dist/chunk-PGYTMRP3.js.map +1 -0
- package/dist/{chunk-VGOEXLQ2.js → chunk-QAPQGDWK.js} +2 -2
- package/dist/chunk-QAPQGDWK.js.map +1 -0
- package/dist/{chunk-QOGBOT2M.mjs → chunk-QHBKRUBY.mjs} +3 -3
- package/dist/{chunk-QOGBOT2M.mjs.map → chunk-QHBKRUBY.mjs.map} +1 -1
- package/dist/chunk-QOYI7WCH.js +120 -0
- package/dist/chunk-QOYI7WCH.js.map +1 -0
- package/dist/{chunk-OF7BIKXV.js → chunk-QRTABC4Z.js} +2 -2
- package/dist/chunk-QRTABC4Z.js.map +1 -0
- package/dist/{chunk-CS6FVODR.mjs → chunk-QUBD6HUZ.mjs} +163 -18
- package/dist/chunk-QUBD6HUZ.mjs.map +1 -0
- package/dist/{chunk-RWVNXU7Z.mjs → chunk-RDTIXP6S.mjs} +4 -4
- package/dist/{chunk-RWVNXU7Z.mjs.map → chunk-RDTIXP6S.mjs.map} +1 -1
- package/dist/{chunk-5WYXNWNH.js → chunk-RLOZWHRR.js} +11 -11
- package/dist/{chunk-5WYXNWNH.js.map → chunk-RLOZWHRR.js.map} +1 -1
- package/dist/{chunk-VK5HAWX6.mjs → chunk-SWWLOD7Q.mjs} +2 -2
- package/dist/chunk-SWWLOD7Q.mjs.map +1 -0
- package/dist/chunk-T3UA4MJL.js +4 -0
- package/dist/{chunk-WTS75RUC.js.map → chunk-T3UA4MJL.js.map} +1 -1
- package/dist/{chunk-HJ4AS5DZ.mjs → chunk-TEWAXP5C.mjs} +36 -12
- package/dist/chunk-TEWAXP5C.mjs.map +1 -0
- package/dist/{chunk-ZRNPHFP3.mjs → chunk-THEIRDGE.mjs} +50 -15
- package/dist/chunk-THEIRDGE.mjs.map +1 -0
- package/dist/{chunk-LPA32BIK.mjs → chunk-U3GOWK6J.mjs} +2 -2
- package/dist/chunk-U3GOWK6J.mjs.map +1 -0
- package/dist/{chunk-QFQXHDC7.mjs → chunk-VKSD3KXF.mjs} +46 -18
- package/dist/chunk-VKSD3KXF.mjs.map +1 -0
- package/dist/{chunk-64ZQRKG3.mjs → chunk-VYSOAGRU.mjs} +2 -2
- package/dist/chunk-VYSOAGRU.mjs.map +1 -0
- package/dist/{chunk-ADAAU4F5.mjs → chunk-WDC53TM7.mjs} +49 -9
- package/dist/chunk-WDC53TM7.mjs.map +1 -0
- package/dist/{chunk-M2EMKIP5.mjs → chunk-WKWP42TD.mjs} +9 -4
- package/dist/chunk-WKWP42TD.mjs.map +1 -0
- package/dist/{chunk-OROTK4OT.js → chunk-WNUB3UTT.js} +12 -12
- package/dist/chunk-WNUB3UTT.js.map +1 -0
- package/dist/{chunk-FVTTG72Z.mjs → chunk-WNWK2QMU.mjs} +19 -7
- package/dist/chunk-WNWK2QMU.mjs.map +1 -0
- package/dist/{chunk-INLXNN7P.js → chunk-WZF5XNBC.js} +26 -26
- package/dist/{chunk-INLXNN7P.js.map → chunk-WZF5XNBC.js.map} +1 -1
- package/dist/{chunk-SMTHFPBA.js → chunk-XMFOZYNI.js} +2 -2
- package/dist/chunk-XMFOZYNI.js.map +1 -0
- package/dist/{chunk-VGCXJRUV.mjs → chunk-YBK6EBA5.mjs} +10 -10
- package/dist/chunk-YBK6EBA5.mjs.map +1 -0
- package/dist/{chunk-HH7HQ4HC.mjs → chunk-ZEDJUNC6.mjs} +2 -2
- package/dist/{chunk-HH7HQ4HC.mjs.map → chunk-ZEDJUNC6.mjs.map} +1 -1
- package/dist/deployments.generated.d.mts +44 -16
- package/dist/deployments.generated.d.ts +44 -16
- package/dist/deployments.generated.js +2 -2
- package/dist/deployments.generated.mjs +1 -1
- package/dist/entities/DopplerFactory.d.mts +7 -1
- package/dist/entities/DopplerFactory.d.ts +7 -1
- package/dist/entities/DopplerFactory.js +16 -14
- package/dist/entities/DopplerFactory.mjs +15 -13
- package/dist/entities/auction/DynamicAuction.js +10 -10
- package/dist/entities/auction/DynamicAuction.mjs +9 -9
- package/dist/entities/auction/MulticurvePool.d.mts +6 -2
- package/dist/entities/auction/MulticurvePool.d.ts +6 -2
- package/dist/entities/auction/MulticurvePool.js +11 -11
- package/dist/entities/auction/MulticurvePool.mjs +10 -10
- package/dist/entities/auction/RehypeDopplerHook.d.mts +57 -0
- package/dist/entities/auction/RehypeDopplerHook.d.ts +57 -0
- package/dist/entities/auction/RehypeDopplerHook.js +34 -0
- package/dist/entities/auction/RehypeDopplerHook.js.map +1 -0
- package/dist/entities/auction/RehypeDopplerHook.mjs +25 -0
- package/dist/entities/auction/RehypeDopplerHook.mjs.map +1 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.d.mts +48 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.d.ts +48 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.js +34 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.js.map +1 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.mjs +25 -0
- package/dist/entities/auction/RehypeDopplerHookMigrator.mjs.map +1 -0
- package/dist/entities/auction/StaticAuction.js +10 -10
- package/dist/entities/auction/StaticAuction.mjs +9 -9
- package/dist/entities/auction/index.d.mts +2 -0
- package/dist/entities/auction/index.d.ts +2 -0
- package/dist/entities/auction/index.js +38 -18
- package/dist/entities/auction/index.mjs +25 -13
- package/dist/entities/quoter/Quoter.js +10 -10
- package/dist/entities/quoter/Quoter.mjs +9 -9
- package/dist/entities/quoter/index.js +10 -10
- package/dist/entities/quoter/index.mjs +9 -9
- package/dist/entities/token/derc20/Derc20.js +8 -8
- package/dist/entities/token/derc20/Derc20.mjs +7 -7
- package/dist/entities/token/derc20/index.js +8 -8
- package/dist/entities/token/derc20/index.mjs +7 -7
- package/dist/entities/token/index.js +11 -11
- package/dist/entities/token/index.mjs +7 -7
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +120 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -25
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.mts +90 -7
- package/dist/types.d.ts +90 -7
- package/dist/types.js +12 -8
- package/dist/types.mjs +3 -3
- package/dist/utils/airlock.js +7 -7
- package/dist/utils/airlock.mjs +3 -3
- package/dist/utils/dopplerHookMigrator.d.mts +18 -0
- package/dist/utils/dopplerHookMigrator.d.ts +18 -0
- package/dist/utils/dopplerHookMigrator.js +20 -0
- package/dist/utils/dopplerHookMigrator.js.map +1 -0
- package/dist/utils/dopplerHookMigrator.mjs +7 -0
- package/dist/utils/dopplerHookMigrator.mjs.map +1 -0
- package/dist/utils/index.d.mts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +39 -32
- package/dist/utils/index.mjs +15 -12
- package/dist/utils/marketCapHelpers.js +13 -13
- package/dist/utils/marketCapHelpers.mjs +1 -1
- package/dist/utils/tokenAddressMiner.js +8 -8
- package/dist/utils/tokenAddressMiner.mjs +7 -7
- package/package.json +2 -2
- package/dist/chunk-2ZM4JVFC.js.map +0 -1
- package/dist/chunk-3MVW6UIW.js.map +0 -1
- package/dist/chunk-3PNCB4W5.js +0 -4
- package/dist/chunk-3XYDN2XB.js.map +0 -1
- package/dist/chunk-5TL5V6UX.mjs +0 -3
- package/dist/chunk-5VV7STYK.js.map +0 -1
- package/dist/chunk-64ZQRKG3.mjs.map +0 -1
- package/dist/chunk-ADAAU4F5.mjs.map +0 -1
- package/dist/chunk-AZOBEWP3.mjs.map +0 -1
- package/dist/chunk-COOVGAOE.js.map +0 -1
- package/dist/chunk-CS6FVODR.mjs.map +0 -1
- package/dist/chunk-CUB4F546.js.map +0 -1
- package/dist/chunk-E2NF4AQB.mjs.map +0 -1
- package/dist/chunk-FVTTG72Z.mjs.map +0 -1
- package/dist/chunk-HJ4AS5DZ.mjs.map +0 -1
- package/dist/chunk-KITPRKQ4.mjs.map +0 -1
- package/dist/chunk-LPA32BIK.mjs.map +0 -1
- package/dist/chunk-M2EMKIP5.mjs.map +0 -1
- package/dist/chunk-MT34O3YL.js.map +0 -1
- package/dist/chunk-OF7BIKXV.js.map +0 -1
- package/dist/chunk-OGYWNJGI.js.map +0 -1
- package/dist/chunk-OROTK4OT.js.map +0 -1
- package/dist/chunk-QFQXHDC7.mjs.map +0 -1
- package/dist/chunk-QQEOKYEX.js.map +0 -1
- package/dist/chunk-RLUMYHPI.js.map +0 -1
- package/dist/chunk-SD7BHT2F.mjs +0 -3
- package/dist/chunk-SMTHFPBA.js.map +0 -1
- package/dist/chunk-VGCXJRUV.mjs.map +0 -1
- package/dist/chunk-VGOEXLQ2.js.map +0 -1
- package/dist/chunk-VK5HAWX6.mjs.map +0 -1
- package/dist/chunk-WDSV4O6T.mjs.map +0 -1
- package/dist/chunk-WKKOBMXR.js.map +0 -1
- package/dist/chunk-WTS75RUC.js +0 -4
- package/dist/chunk-ZRNPHFP3.mjs.map +0 -1
package/dist/abis/index.d.mts
CHANGED
|
@@ -2362,6 +2362,94 @@ declare const v4MulticurveInitializerAbi: readonly [{
|
|
|
2362
2362
|
readonly name: "InvalidProtocolOwnerBeneficiary";
|
|
2363
2363
|
readonly inputs: readonly [];
|
|
2364
2364
|
}];
|
|
2365
|
+
declare const dopplerHookInitializerAbi: readonly [{
|
|
2366
|
+
readonly type: "function";
|
|
2367
|
+
readonly name: "airlock";
|
|
2368
|
+
readonly inputs: readonly [];
|
|
2369
|
+
readonly outputs: readonly [{
|
|
2370
|
+
readonly name: "";
|
|
2371
|
+
readonly type: "address";
|
|
2372
|
+
readonly internalType: "contract Airlock";
|
|
2373
|
+
}];
|
|
2374
|
+
readonly stateMutability: "view";
|
|
2375
|
+
}, {
|
|
2376
|
+
readonly type: "function";
|
|
2377
|
+
readonly name: "collectFees";
|
|
2378
|
+
readonly inputs: readonly [{
|
|
2379
|
+
readonly name: "poolId";
|
|
2380
|
+
readonly type: "bytes32";
|
|
2381
|
+
readonly internalType: "PoolId";
|
|
2382
|
+
}];
|
|
2383
|
+
readonly outputs: readonly [{
|
|
2384
|
+
readonly name: "fees0";
|
|
2385
|
+
readonly type: "uint128";
|
|
2386
|
+
readonly internalType: "uint128";
|
|
2387
|
+
}, {
|
|
2388
|
+
readonly name: "fees1";
|
|
2389
|
+
readonly type: "uint128";
|
|
2390
|
+
readonly internalType: "uint128";
|
|
2391
|
+
}];
|
|
2392
|
+
readonly stateMutability: "nonpayable";
|
|
2393
|
+
}, {
|
|
2394
|
+
readonly type: "function";
|
|
2395
|
+
readonly name: "getState";
|
|
2396
|
+
readonly inputs: readonly [{
|
|
2397
|
+
readonly name: "asset";
|
|
2398
|
+
readonly type: "address";
|
|
2399
|
+
readonly internalType: "address";
|
|
2400
|
+
}];
|
|
2401
|
+
readonly outputs: readonly [{
|
|
2402
|
+
readonly name: "numeraire";
|
|
2403
|
+
readonly type: "address";
|
|
2404
|
+
readonly internalType: "address";
|
|
2405
|
+
}, {
|
|
2406
|
+
readonly name: "totalTokensOnBondingCurve";
|
|
2407
|
+
readonly type: "uint256";
|
|
2408
|
+
readonly internalType: "uint256";
|
|
2409
|
+
}, {
|
|
2410
|
+
readonly name: "dopplerHook";
|
|
2411
|
+
readonly type: "address";
|
|
2412
|
+
readonly internalType: "address";
|
|
2413
|
+
}, {
|
|
2414
|
+
readonly name: "graduationDopplerHookCalldata";
|
|
2415
|
+
readonly type: "bytes";
|
|
2416
|
+
readonly internalType: "bytes";
|
|
2417
|
+
}, {
|
|
2418
|
+
readonly name: "status";
|
|
2419
|
+
readonly type: "uint8";
|
|
2420
|
+
readonly internalType: "enum PoolStatus";
|
|
2421
|
+
}, {
|
|
2422
|
+
readonly name: "poolKey";
|
|
2423
|
+
readonly type: "tuple";
|
|
2424
|
+
readonly internalType: "struct PoolKey";
|
|
2425
|
+
readonly components: readonly [{
|
|
2426
|
+
readonly name: "currency0";
|
|
2427
|
+
readonly type: "address";
|
|
2428
|
+
readonly internalType: "Currency";
|
|
2429
|
+
}, {
|
|
2430
|
+
readonly name: "currency1";
|
|
2431
|
+
readonly type: "address";
|
|
2432
|
+
readonly internalType: "Currency";
|
|
2433
|
+
}, {
|
|
2434
|
+
readonly name: "fee";
|
|
2435
|
+
readonly type: "uint24";
|
|
2436
|
+
readonly internalType: "uint24";
|
|
2437
|
+
}, {
|
|
2438
|
+
readonly name: "tickSpacing";
|
|
2439
|
+
readonly type: "int24";
|
|
2440
|
+
readonly internalType: "int24";
|
|
2441
|
+
}, {
|
|
2442
|
+
readonly name: "hooks";
|
|
2443
|
+
readonly type: "address";
|
|
2444
|
+
readonly internalType: "contract IHooks";
|
|
2445
|
+
}];
|
|
2446
|
+
}, {
|
|
2447
|
+
readonly name: "farTick";
|
|
2448
|
+
readonly type: "int24";
|
|
2449
|
+
readonly internalType: "int24";
|
|
2450
|
+
}];
|
|
2451
|
+
readonly stateMutability: "view";
|
|
2452
|
+
}];
|
|
2365
2453
|
declare const decayMulticurveInitializerHookAbi: readonly [{
|
|
2366
2454
|
readonly type: "function";
|
|
2367
2455
|
readonly name: "getFeeScheduleOf";
|
|
@@ -3283,6 +3371,271 @@ declare const rehypeDopplerHookAbi: readonly [{
|
|
|
3283
3371
|
readonly internalType: "address";
|
|
3284
3372
|
}];
|
|
3285
3373
|
readonly stateMutability: "view";
|
|
3374
|
+
}, {
|
|
3375
|
+
readonly type: "function";
|
|
3376
|
+
readonly name: "claimAirlockOwnerFees";
|
|
3377
|
+
readonly inputs: readonly [{
|
|
3378
|
+
readonly name: "asset";
|
|
3379
|
+
readonly type: "address";
|
|
3380
|
+
readonly internalType: "address";
|
|
3381
|
+
}];
|
|
3382
|
+
readonly outputs: readonly [{
|
|
3383
|
+
readonly name: "fees0";
|
|
3384
|
+
readonly type: "uint128";
|
|
3385
|
+
readonly internalType: "uint128";
|
|
3386
|
+
}, {
|
|
3387
|
+
readonly name: "fees1";
|
|
3388
|
+
readonly type: "uint128";
|
|
3389
|
+
readonly internalType: "uint128";
|
|
3390
|
+
}];
|
|
3391
|
+
readonly stateMutability: "nonpayable";
|
|
3392
|
+
}, {
|
|
3393
|
+
readonly type: "function";
|
|
3394
|
+
readonly name: "collectFees";
|
|
3395
|
+
readonly inputs: readonly [{
|
|
3396
|
+
readonly name: "asset";
|
|
3397
|
+
readonly type: "address";
|
|
3398
|
+
readonly internalType: "address";
|
|
3399
|
+
}];
|
|
3400
|
+
readonly outputs: readonly [{
|
|
3401
|
+
readonly name: "fees";
|
|
3402
|
+
readonly type: "int256";
|
|
3403
|
+
readonly internalType: "BalanceDelta";
|
|
3404
|
+
}];
|
|
3405
|
+
readonly stateMutability: "nonpayable";
|
|
3406
|
+
}, {
|
|
3407
|
+
readonly type: "function";
|
|
3408
|
+
readonly name: "getFeeDistributionInfo";
|
|
3409
|
+
readonly inputs: readonly [{
|
|
3410
|
+
readonly name: "poolId";
|
|
3411
|
+
readonly type: "bytes32";
|
|
3412
|
+
readonly internalType: "PoolId";
|
|
3413
|
+
}];
|
|
3414
|
+
readonly outputs: readonly [{
|
|
3415
|
+
readonly name: "assetFeesToAssetBuybackWad";
|
|
3416
|
+
readonly type: "uint256";
|
|
3417
|
+
readonly internalType: "uint256";
|
|
3418
|
+
}, {
|
|
3419
|
+
readonly name: "assetFeesToNumeraireBuybackWad";
|
|
3420
|
+
readonly type: "uint256";
|
|
3421
|
+
readonly internalType: "uint256";
|
|
3422
|
+
}, {
|
|
3423
|
+
readonly name: "assetFeesToBeneficiaryWad";
|
|
3424
|
+
readonly type: "uint256";
|
|
3425
|
+
readonly internalType: "uint256";
|
|
3426
|
+
}, {
|
|
3427
|
+
readonly name: "assetFeesToLpWad";
|
|
3428
|
+
readonly type: "uint256";
|
|
3429
|
+
readonly internalType: "uint256";
|
|
3430
|
+
}, {
|
|
3431
|
+
readonly name: "numeraireFeesToAssetBuybackWad";
|
|
3432
|
+
readonly type: "uint256";
|
|
3433
|
+
readonly internalType: "uint256";
|
|
3434
|
+
}, {
|
|
3435
|
+
readonly name: "numeraireFeesToNumeraireBuybackWad";
|
|
3436
|
+
readonly type: "uint256";
|
|
3437
|
+
readonly internalType: "uint256";
|
|
3438
|
+
}, {
|
|
3439
|
+
readonly name: "numeraireFeesToBeneficiaryWad";
|
|
3440
|
+
readonly type: "uint256";
|
|
3441
|
+
readonly internalType: "uint256";
|
|
3442
|
+
}, {
|
|
3443
|
+
readonly name: "numeraireFeesToLpWad";
|
|
3444
|
+
readonly type: "uint256";
|
|
3445
|
+
readonly internalType: "uint256";
|
|
3446
|
+
}];
|
|
3447
|
+
readonly stateMutability: "view";
|
|
3448
|
+
}, {
|
|
3449
|
+
readonly type: "function";
|
|
3450
|
+
readonly name: "getFeeRoutingMode";
|
|
3451
|
+
readonly inputs: readonly [{
|
|
3452
|
+
readonly name: "poolId";
|
|
3453
|
+
readonly type: "bytes32";
|
|
3454
|
+
readonly internalType: "PoolId";
|
|
3455
|
+
}];
|
|
3456
|
+
readonly outputs: readonly [{
|
|
3457
|
+
readonly name: "";
|
|
3458
|
+
readonly type: "uint8";
|
|
3459
|
+
readonly internalType: "enum FeeRoutingMode";
|
|
3460
|
+
}];
|
|
3461
|
+
readonly stateMutability: "view";
|
|
3462
|
+
}, {
|
|
3463
|
+
readonly type: "function";
|
|
3464
|
+
readonly name: "getFeeSchedule";
|
|
3465
|
+
readonly inputs: readonly [{
|
|
3466
|
+
readonly name: "poolId";
|
|
3467
|
+
readonly type: "bytes32";
|
|
3468
|
+
readonly internalType: "PoolId";
|
|
3469
|
+
}];
|
|
3470
|
+
readonly outputs: readonly [{
|
|
3471
|
+
readonly name: "startingTime";
|
|
3472
|
+
readonly type: "uint32";
|
|
3473
|
+
readonly internalType: "uint32";
|
|
3474
|
+
}, {
|
|
3475
|
+
readonly name: "startFee";
|
|
3476
|
+
readonly type: "uint24";
|
|
3477
|
+
readonly internalType: "uint24";
|
|
3478
|
+
}, {
|
|
3479
|
+
readonly name: "endFee";
|
|
3480
|
+
readonly type: "uint24";
|
|
3481
|
+
readonly internalType: "uint24";
|
|
3482
|
+
}, {
|
|
3483
|
+
readonly name: "lastFee";
|
|
3484
|
+
readonly type: "uint24";
|
|
3485
|
+
readonly internalType: "uint24";
|
|
3486
|
+
}, {
|
|
3487
|
+
readonly name: "durationSeconds";
|
|
3488
|
+
readonly type: "uint32";
|
|
3489
|
+
readonly internalType: "uint32";
|
|
3490
|
+
}];
|
|
3491
|
+
readonly stateMutability: "view";
|
|
3492
|
+
}, {
|
|
3493
|
+
readonly type: "function";
|
|
3494
|
+
readonly name: "getHookFees";
|
|
3495
|
+
readonly inputs: readonly [{
|
|
3496
|
+
readonly name: "poolId";
|
|
3497
|
+
readonly type: "bytes32";
|
|
3498
|
+
readonly internalType: "PoolId";
|
|
3499
|
+
}];
|
|
3500
|
+
readonly outputs: readonly [{
|
|
3501
|
+
readonly name: "fees0";
|
|
3502
|
+
readonly type: "uint128";
|
|
3503
|
+
readonly internalType: "uint128";
|
|
3504
|
+
}, {
|
|
3505
|
+
readonly name: "fees1";
|
|
3506
|
+
readonly type: "uint128";
|
|
3507
|
+
readonly internalType: "uint128";
|
|
3508
|
+
}, {
|
|
3509
|
+
readonly name: "beneficiaryFees0";
|
|
3510
|
+
readonly type: "uint128";
|
|
3511
|
+
readonly internalType: "uint128";
|
|
3512
|
+
}, {
|
|
3513
|
+
readonly name: "beneficiaryFees1";
|
|
3514
|
+
readonly type: "uint128";
|
|
3515
|
+
readonly internalType: "uint128";
|
|
3516
|
+
}, {
|
|
3517
|
+
readonly name: "airlockOwnerFees0";
|
|
3518
|
+
readonly type: "uint128";
|
|
3519
|
+
readonly internalType: "uint128";
|
|
3520
|
+
}, {
|
|
3521
|
+
readonly name: "airlockOwnerFees1";
|
|
3522
|
+
readonly type: "uint128";
|
|
3523
|
+
readonly internalType: "uint128";
|
|
3524
|
+
}, {
|
|
3525
|
+
readonly name: "customFee";
|
|
3526
|
+
readonly type: "uint24";
|
|
3527
|
+
readonly internalType: "uint24";
|
|
3528
|
+
}];
|
|
3529
|
+
readonly stateMutability: "view";
|
|
3530
|
+
}, {
|
|
3531
|
+
readonly type: "function";
|
|
3532
|
+
readonly name: "getPoolInfo";
|
|
3533
|
+
readonly inputs: readonly [{
|
|
3534
|
+
readonly name: "poolId";
|
|
3535
|
+
readonly type: "bytes32";
|
|
3536
|
+
readonly internalType: "PoolId";
|
|
3537
|
+
}];
|
|
3538
|
+
readonly outputs: readonly [{
|
|
3539
|
+
readonly name: "asset";
|
|
3540
|
+
readonly type: "address";
|
|
3541
|
+
readonly internalType: "address";
|
|
3542
|
+
}, {
|
|
3543
|
+
readonly name: "numeraire";
|
|
3544
|
+
readonly type: "address";
|
|
3545
|
+
readonly internalType: "address";
|
|
3546
|
+
}, {
|
|
3547
|
+
readonly name: "buybackDst";
|
|
3548
|
+
readonly type: "address";
|
|
3549
|
+
readonly internalType: "address";
|
|
3550
|
+
}];
|
|
3551
|
+
readonly stateMutability: "view";
|
|
3552
|
+
}, {
|
|
3553
|
+
readonly type: "function";
|
|
3554
|
+
readonly name: "getPosition";
|
|
3555
|
+
readonly inputs: readonly [{
|
|
3556
|
+
readonly name: "poolId";
|
|
3557
|
+
readonly type: "bytes32";
|
|
3558
|
+
readonly internalType: "PoolId";
|
|
3559
|
+
}];
|
|
3560
|
+
readonly outputs: readonly [{
|
|
3561
|
+
readonly name: "tickLower";
|
|
3562
|
+
readonly type: "int24";
|
|
3563
|
+
readonly internalType: "int24";
|
|
3564
|
+
}, {
|
|
3565
|
+
readonly name: "tickUpper";
|
|
3566
|
+
readonly type: "int24";
|
|
3567
|
+
readonly internalType: "int24";
|
|
3568
|
+
}, {
|
|
3569
|
+
readonly name: "liquidity";
|
|
3570
|
+
readonly type: "uint128";
|
|
3571
|
+
readonly internalType: "uint128";
|
|
3572
|
+
}, {
|
|
3573
|
+
readonly name: "salt";
|
|
3574
|
+
readonly type: "bytes32";
|
|
3575
|
+
readonly internalType: "bytes32";
|
|
3576
|
+
}];
|
|
3577
|
+
readonly stateMutability: "view";
|
|
3578
|
+
}, {
|
|
3579
|
+
readonly type: "function";
|
|
3580
|
+
readonly name: "poolManager";
|
|
3581
|
+
readonly inputs: readonly [];
|
|
3582
|
+
readonly outputs: readonly [{
|
|
3583
|
+
readonly name: "";
|
|
3584
|
+
readonly type: "address";
|
|
3585
|
+
readonly internalType: "contract IPoolManager";
|
|
3586
|
+
}];
|
|
3587
|
+
readonly stateMutability: "view";
|
|
3588
|
+
}, {
|
|
3589
|
+
readonly type: "function";
|
|
3590
|
+
readonly name: "quoter";
|
|
3591
|
+
readonly inputs: readonly [];
|
|
3592
|
+
readonly outputs: readonly [{
|
|
3593
|
+
readonly name: "";
|
|
3594
|
+
readonly type: "address";
|
|
3595
|
+
readonly internalType: "contract Quoter";
|
|
3596
|
+
}];
|
|
3597
|
+
readonly stateMutability: "view";
|
|
3598
|
+
}, {
|
|
3599
|
+
readonly type: "error";
|
|
3600
|
+
readonly name: "FeeDistributionMustAddUpToWAD";
|
|
3601
|
+
readonly inputs: readonly [];
|
|
3602
|
+
}, {
|
|
3603
|
+
readonly type: "error";
|
|
3604
|
+
readonly name: "SenderNotAirlockOwner";
|
|
3605
|
+
readonly inputs: readonly [];
|
|
3606
|
+
}, {
|
|
3607
|
+
readonly type: "error";
|
|
3608
|
+
readonly name: "SenderNotInitializer";
|
|
3609
|
+
readonly inputs: readonly [];
|
|
3610
|
+
}];
|
|
3611
|
+
declare const rehypeDopplerHookMigratorAbi: readonly [{
|
|
3612
|
+
readonly type: "function";
|
|
3613
|
+
readonly name: "MIGRATOR";
|
|
3614
|
+
readonly inputs: readonly [];
|
|
3615
|
+
readonly outputs: readonly [{
|
|
3616
|
+
readonly name: "";
|
|
3617
|
+
readonly type: "address";
|
|
3618
|
+
readonly internalType: "address";
|
|
3619
|
+
}];
|
|
3620
|
+
readonly stateMutability: "view";
|
|
3621
|
+
}, {
|
|
3622
|
+
readonly type: "function";
|
|
3623
|
+
readonly name: "claimAirlockOwnerFees";
|
|
3624
|
+
readonly inputs: readonly [{
|
|
3625
|
+
readonly name: "asset";
|
|
3626
|
+
readonly type: "address";
|
|
3627
|
+
readonly internalType: "address";
|
|
3628
|
+
}];
|
|
3629
|
+
readonly outputs: readonly [{
|
|
3630
|
+
readonly name: "fees0";
|
|
3631
|
+
readonly type: "uint128";
|
|
3632
|
+
readonly internalType: "uint128";
|
|
3633
|
+
}, {
|
|
3634
|
+
readonly name: "fees1";
|
|
3635
|
+
readonly type: "uint128";
|
|
3636
|
+
readonly internalType: "uint128";
|
|
3637
|
+
}];
|
|
3638
|
+
readonly stateMutability: "nonpayable";
|
|
3286
3639
|
}, {
|
|
3287
3640
|
readonly type: "function";
|
|
3288
3641
|
readonly name: "collectFees";
|
|
@@ -3306,23 +3659,53 @@ declare const rehypeDopplerHookAbi: readonly [{
|
|
|
3306
3659
|
readonly internalType: "PoolId";
|
|
3307
3660
|
}];
|
|
3308
3661
|
readonly outputs: readonly [{
|
|
3309
|
-
readonly name: "
|
|
3662
|
+
readonly name: "assetFeesToAssetBuybackWad";
|
|
3663
|
+
readonly type: "uint256";
|
|
3664
|
+
readonly internalType: "uint256";
|
|
3665
|
+
}, {
|
|
3666
|
+
readonly name: "assetFeesToNumeraireBuybackWad";
|
|
3667
|
+
readonly type: "uint256";
|
|
3668
|
+
readonly internalType: "uint256";
|
|
3669
|
+
}, {
|
|
3670
|
+
readonly name: "assetFeesToBeneficiaryWad";
|
|
3671
|
+
readonly type: "uint256";
|
|
3672
|
+
readonly internalType: "uint256";
|
|
3673
|
+
}, {
|
|
3674
|
+
readonly name: "assetFeesToLpWad";
|
|
3675
|
+
readonly type: "uint256";
|
|
3676
|
+
readonly internalType: "uint256";
|
|
3677
|
+
}, {
|
|
3678
|
+
readonly name: "numeraireFeesToAssetBuybackWad";
|
|
3310
3679
|
readonly type: "uint256";
|
|
3311
3680
|
readonly internalType: "uint256";
|
|
3312
3681
|
}, {
|
|
3313
|
-
readonly name: "
|
|
3682
|
+
readonly name: "numeraireFeesToNumeraireBuybackWad";
|
|
3314
3683
|
readonly type: "uint256";
|
|
3315
3684
|
readonly internalType: "uint256";
|
|
3316
3685
|
}, {
|
|
3317
|
-
readonly name: "
|
|
3686
|
+
readonly name: "numeraireFeesToBeneficiaryWad";
|
|
3318
3687
|
readonly type: "uint256";
|
|
3319
3688
|
readonly internalType: "uint256";
|
|
3320
3689
|
}, {
|
|
3321
|
-
readonly name: "
|
|
3690
|
+
readonly name: "numeraireFeesToLpWad";
|
|
3322
3691
|
readonly type: "uint256";
|
|
3323
3692
|
readonly internalType: "uint256";
|
|
3324
3693
|
}];
|
|
3325
3694
|
readonly stateMutability: "view";
|
|
3695
|
+
}, {
|
|
3696
|
+
readonly type: "function";
|
|
3697
|
+
readonly name: "getFeeRoutingMode";
|
|
3698
|
+
readonly inputs: readonly [{
|
|
3699
|
+
readonly name: "poolId";
|
|
3700
|
+
readonly type: "bytes32";
|
|
3701
|
+
readonly internalType: "PoolId";
|
|
3702
|
+
}];
|
|
3703
|
+
readonly outputs: readonly [{
|
|
3704
|
+
readonly name: "";
|
|
3705
|
+
readonly type: "uint8";
|
|
3706
|
+
readonly internalType: "enum FeeRoutingMode";
|
|
3707
|
+
}];
|
|
3708
|
+
readonly stateMutability: "view";
|
|
3326
3709
|
}, {
|
|
3327
3710
|
readonly type: "function";
|
|
3328
3711
|
readonly name: "getHookFees";
|
|
@@ -3347,6 +3730,14 @@ declare const rehypeDopplerHookAbi: readonly [{
|
|
|
3347
3730
|
readonly name: "beneficiaryFees1";
|
|
3348
3731
|
readonly type: "uint128";
|
|
3349
3732
|
readonly internalType: "uint128";
|
|
3733
|
+
}, {
|
|
3734
|
+
readonly name: "airlockOwnerFees0";
|
|
3735
|
+
readonly type: "uint128";
|
|
3736
|
+
readonly internalType: "uint128";
|
|
3737
|
+
}, {
|
|
3738
|
+
readonly name: "airlockOwnerFees1";
|
|
3739
|
+
readonly type: "uint128";
|
|
3740
|
+
readonly internalType: "uint128";
|
|
3350
3741
|
}, {
|
|
3351
3742
|
readonly name: "customFee";
|
|
3352
3743
|
readonly type: "uint24";
|
|
@@ -3429,19 +3820,35 @@ declare const rehypeDopplerHookAbi: readonly [{
|
|
|
3429
3820
|
readonly type: "bytes32";
|
|
3430
3821
|
readonly internalType: "PoolId";
|
|
3431
3822
|
}, {
|
|
3432
|
-
readonly name: "
|
|
3823
|
+
readonly name: "assetFeesToAssetBuybackWad";
|
|
3824
|
+
readonly type: "uint256";
|
|
3825
|
+
readonly internalType: "uint256";
|
|
3826
|
+
}, {
|
|
3827
|
+
readonly name: "assetFeesToNumeraireBuybackWad";
|
|
3433
3828
|
readonly type: "uint256";
|
|
3434
3829
|
readonly internalType: "uint256";
|
|
3435
3830
|
}, {
|
|
3436
|
-
readonly name: "
|
|
3831
|
+
readonly name: "assetFeesToBeneficiaryWad";
|
|
3437
3832
|
readonly type: "uint256";
|
|
3438
3833
|
readonly internalType: "uint256";
|
|
3439
3834
|
}, {
|
|
3440
|
-
readonly name: "
|
|
3835
|
+
readonly name: "assetFeesToLpWad";
|
|
3441
3836
|
readonly type: "uint256";
|
|
3442
3837
|
readonly internalType: "uint256";
|
|
3443
3838
|
}, {
|
|
3444
|
-
readonly name: "
|
|
3839
|
+
readonly name: "numeraireFeesToAssetBuybackWad";
|
|
3840
|
+
readonly type: "uint256";
|
|
3841
|
+
readonly internalType: "uint256";
|
|
3842
|
+
}, {
|
|
3843
|
+
readonly name: "numeraireFeesToNumeraireBuybackWad";
|
|
3844
|
+
readonly type: "uint256";
|
|
3845
|
+
readonly internalType: "uint256";
|
|
3846
|
+
}, {
|
|
3847
|
+
readonly name: "numeraireFeesToBeneficiaryWad";
|
|
3848
|
+
readonly type: "uint256";
|
|
3849
|
+
readonly internalType: "uint256";
|
|
3850
|
+
}, {
|
|
3851
|
+
readonly name: "numeraireFeesToLpWad";
|
|
3445
3852
|
readonly type: "uint256";
|
|
3446
3853
|
readonly internalType: "uint256";
|
|
3447
3854
|
}];
|
|
@@ -3453,8 +3860,12 @@ declare const rehypeDopplerHookAbi: readonly [{
|
|
|
3453
3860
|
readonly inputs: readonly [];
|
|
3454
3861
|
}, {
|
|
3455
3862
|
readonly type: "error";
|
|
3456
|
-
readonly name: "
|
|
3863
|
+
readonly name: "SenderNotAirlockOwner";
|
|
3864
|
+
readonly inputs: readonly [];
|
|
3865
|
+
}, {
|
|
3866
|
+
readonly type: "error";
|
|
3867
|
+
readonly name: "SenderNotAuthorized";
|
|
3457
3868
|
readonly inputs: readonly [];
|
|
3458
3869
|
}];
|
|
3459
3870
|
|
|
3460
|
-
export { airlockAbi, bundlerAbi, decayMulticurveInitializerHookAbi, derc20Abi, dopplerHookAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi };
|
|
3871
|
+
export { airlockAbi, bundlerAbi, decayMulticurveInitializerHookAbi, derc20Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi };
|