@steerprotocol/sdk 3.7.0 → 3.7.1
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/dist/index.browser.mjs +9 -2
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -250,6 +250,7 @@ let MultiPositionManagers = /* @__PURE__ */ function(MultiPositionManagers) {
|
|
|
250
250
|
MultiPositionManagers["MultiPositionBlackholeOld"] = "MultiPositionBlackhole";
|
|
251
251
|
MultiPositionManagers["AlgebraHook"] = "AlgebraHook";
|
|
252
252
|
MultiPositionManagers["MultiPositionAerodrome"] = "MultiPositionAerodrome";
|
|
253
|
+
MultiPositionManagers["MultiPositionAerodromeSlipstream"] = "MultiPositionAerodromeSlipstream";
|
|
253
254
|
MultiPositionManagers["MultiPositionAerodromeV2"] = "AerodromeStakedPositionManager";
|
|
254
255
|
MultiPositionManagers["MultiPositionAerodromeV3"] = "AerodromeStakedPositionManagerV3";
|
|
255
256
|
MultiPositionManagers["MultiPositionNest"] = "MultiPositionNest";
|
|
@@ -285,6 +286,7 @@ const UniswapHookBeacons = [
|
|
|
285
286
|
MultiPositionManagers.TestUniswapJITHook,
|
|
286
287
|
MultiPositionManagers.MultiPositionUniswapV4HookOld
|
|
287
288
|
];
|
|
289
|
+
const AerodromeBeacons = [MultiPositionManagers.MultiPositionAerodrome, MultiPositionManagers.MultiPositionAerodromeSlipstream];
|
|
288
290
|
//#endregion
|
|
289
291
|
//#region src/const/deployments/abis.ts
|
|
290
292
|
const abis = {
|
|
@@ -15151,12 +15153,14 @@ const katanaIntegralConfig = () => ({
|
|
|
15151
15153
|
//#endregion
|
|
15152
15154
|
//#region src/const/amm/configs/protocols/aerodrome.ts
|
|
15153
15155
|
const aerodromeConfig = (theGraphApiKey) => ({
|
|
15154
|
-
beaconContract:
|
|
15156
|
+
beaconContract: AerodromeBeacons[0],
|
|
15157
|
+
additionalBeaconContracts: [...AerodromeBeacons.slice(1)],
|
|
15155
15158
|
subgraph: { [Chain.Base]: getTheGraphResolverUrl("GENunSHWLBXm59mBSgPzQ8metBEp9YDfdqwFr91Av1UM", false, theGraphApiKey) },
|
|
15156
15159
|
factoryAddress: {
|
|
15157
15160
|
[Chain.Arc]: "0xb89Df768aF2CFE637ceB352c587Fe8edAf491d03",
|
|
15158
15161
|
[Chain.Base]: "0x5e7BB104d84c7CB9B682AaC2F3d509f5F406809A"
|
|
15159
15162
|
},
|
|
15163
|
+
NFTManagerAddress: { [Chain.Arc]: "0xc84bB45D43CD25D02b83B4C085eaA4e08da8f473" },
|
|
15160
15164
|
TickLensAddress: {
|
|
15161
15165
|
[Chain.Base]: "0x49a3A5cf91DE1b78c43Dc1adD03E8A71f1Ea2e30",
|
|
15162
15166
|
[Chain.Arc]: "0xC6679cC98acC7C7Da0E3cb1766FB6cafC2110Bfb"
|
|
@@ -15362,12 +15366,14 @@ const TEST_UNISWAP_JIT_HOOK_BEACON = MultiPositionManagers.TestUniswapJITHook;
|
|
|
15362
15366
|
const UNISWAP_V4_NO_ORACLE_BEACON = MultiPositionManagers.MultiPositionUniswapV4NoOracle;
|
|
15363
15367
|
const UNISWAP_V4_HOOK_BEACON_NAMES = UniswapHookBeacons;
|
|
15364
15368
|
const UNISWAP_V4_BEACON_NAMES = UniswapV4Beacons;
|
|
15369
|
+
const AERODROME_BEACON_NAMES = AerodromeBeacons;
|
|
15365
15370
|
const includesBeacon = (beaconNames, beaconName) => {
|
|
15366
15371
|
if (!beaconName) return false;
|
|
15367
15372
|
const normalizedBeaconName = beaconName.toLowerCase();
|
|
15368
15373
|
return beaconNames.some((knownBeaconName) => knownBeaconName.toLowerCase() === normalizedBeaconName);
|
|
15369
15374
|
};
|
|
15370
15375
|
const isUniswapV4Beacon = (beaconName) => includesBeacon(UNISWAP_V4_BEACON_NAMES, beaconName);
|
|
15376
|
+
const isAerodromeBeacon = (beaconName) => includesBeacon(AERODROME_BEACON_NAMES, beaconName);
|
|
15371
15377
|
const isUniswapV4HookBeacon = (beaconName) => includesBeacon(UNISWAP_V4_HOOK_BEACON_NAMES, beaconName);
|
|
15372
15378
|
const shouldValidateUniswapV4VaultHook = (beaconName) => beaconName?.toLowerCase() !== UNISWAP_V4_NO_ORACLE_BEACON.toLowerCase();
|
|
15373
15379
|
const UNISWAP_V4_BEACON_SUPPORTED_CHAINS = {
|
|
@@ -15513,6 +15519,7 @@ const CUSTOM_BEACON_TO_PROTOCOL_MAP = {
|
|
|
15513
15519
|
[StrykePositionManagers.StrykeShadowManager]: Protocol.Shadow,
|
|
15514
15520
|
[MultiPositionManagers.MultiPositionUniswapV4ALM]: Protocol.UniswapV4,
|
|
15515
15521
|
[MultiPositionManagers.MultiPositionAerodrome]: Protocol.Aerodrome,
|
|
15522
|
+
[MultiPositionManagers.MultiPositionAerodromeSlipstream]: Protocol.Aerodrome,
|
|
15516
15523
|
[MultiPositionManagers.MultiPositionUniswapV4HookOld]: Protocol.UniswapV4,
|
|
15517
15524
|
[MultiPositionManagers.MultiPositionBlackholeOld]: Protocol.Blackhole,
|
|
15518
15525
|
[MultiPositionManagers.MultiPositionUniswapV4Hook]: Protocol.UniswapV4,
|
|
@@ -28917,6 +28924,7 @@ async function verifyV4PoolAction(params) {
|
|
|
28917
28924
|
* See {@link SmartRewards} for detailed API documentation.
|
|
28918
28925
|
*/
|
|
28919
28926
|
//#endregion
|
|
28927
|
+
exports.AERODROME_BEACON_NAMES = AERODROME_BEACON_NAMES;
|
|
28920
28928
|
exports.AERODROME_PROTOCOLS = AERODROME_PROTOCOLS;
|
|
28921
28929
|
exports.AERODROME_SLIPSTREAM_LIFECYCLE_DEPLOYMENTS = AERODROME_SLIPSTREAM_LIFECYCLE_DEPLOYMENTS;
|
|
28922
28930
|
exports.ALGEBRA_INTEGRAL_PROTOCOLS = ALGEBRA_INTEGRAL_PROTOCOLS;
|
|
@@ -28925,6 +28933,7 @@ exports.ALGEBRA_LIFECYCLE_DEPLOYMENTS = ALGEBRA_LIFECYCLE_DEPLOYMENTS;
|
|
|
28925
28933
|
exports.ALGEBRA_PROTOCOLS = ALGEBRA_PROTOCOLS;
|
|
28926
28934
|
exports.AMMType = AMMType;
|
|
28927
28935
|
exports.API_URLS = API_URLS;
|
|
28936
|
+
exports.AerodromeBeacons = AerodromeBeacons;
|
|
28928
28937
|
exports.AlgebgraHookBeacons = AlgebgraHookBeacons;
|
|
28929
28938
|
exports.CURRENT_V4_LIFECYCLE_DEPLOYMENTS = CURRENT_V4_LIFECYCLE_DEPLOYMENTS;
|
|
28930
28939
|
exports.Chain = Chain;
|
|
@@ -29103,6 +29112,7 @@ exports.inspectAlgebraPool = inspectAlgebraPool;
|
|
|
29103
29112
|
exports.inspectV3Pool = inspectV3Pool;
|
|
29104
29113
|
exports.inspectV4Pool = inspectV4Pool;
|
|
29105
29114
|
exports.integerSqrt = integerSqrt;
|
|
29115
|
+
exports.isAerodromeBeacon = isAerodromeBeacon;
|
|
29106
29116
|
exports.isAerodromeVault = isAerodromeVault;
|
|
29107
29117
|
exports.isAlgebraDirectionProtocol = isAlgebraDirectionProtocol;
|
|
29108
29118
|
exports.isAlgebraIntegral21QuoteParams = isAlgebraIntegral21QuoteParams;
|