damm-sdk 1.1.31-alpha.24 → 1.1.31-alpha.26
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.cjs +238 -219
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +238 -219
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/integrations/slipstream/slipstream.ts +1 -1
- package/src/lib/contractsRegistry.json +18 -0
package/dist/index.cjs
CHANGED
|
@@ -53932,6 +53932,24 @@ var contractsRegistry_default = {
|
|
|
53932
53932
|
multicall3: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
53933
53933
|
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
53934
53934
|
poster: "0x000000000000cd17345801aa8147b8D3950260FF"
|
|
53935
|
+
},
|
|
53936
|
+
monad: {
|
|
53937
|
+
merkl: {
|
|
53938
|
+
distributor: "0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae"
|
|
53939
|
+
},
|
|
53940
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
53941
|
+
tokens: {
|
|
53942
|
+
usdt0: "0xe7cd86e13AC4309349F30B3435a9d337750fC82D",
|
|
53943
|
+
usdc: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603"
|
|
53944
|
+
},
|
|
53945
|
+
OFTAdapters: {
|
|
53946
|
+
"0xe7cd86e13AC4309349F30B3435a9d337750fC82D": "0x9151434b16b9763660705744891fa906f660ecc5"
|
|
53947
|
+
},
|
|
53948
|
+
multicall3: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
53949
|
+
cctp: {
|
|
53950
|
+
tokenMessengerV2: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d",
|
|
53951
|
+
messageTransmitterV2: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64"
|
|
53952
|
+
}
|
|
53935
53953
|
}
|
|
53936
53954
|
};
|
|
53937
53955
|
|
|
@@ -80890,224 +80908,6 @@ var position_manager_abi_default3 = [
|
|
|
80890
80908
|
{ type: "receive", stateMutability: "payable" }
|
|
80891
80909
|
];
|
|
80892
80910
|
|
|
80893
|
-
// src/integrations/slipstream/slipstream.ts
|
|
80894
|
-
var swapRouterInterface2 = new exports_ethers.utils.Interface(swap_router_abi_default2);
|
|
80895
|
-
var positionManagerInterface2 = new exports_ethers.utils.Interface(position_manager_abi_default3);
|
|
80896
|
-
var gaugeInterface = new exports_ethers.utils.Interface(gauge_abi_default);
|
|
80897
|
-
var RouterSwapExactInputSingleCalldata = ({
|
|
80898
|
-
tokenIn,
|
|
80899
|
-
tokenOut,
|
|
80900
|
-
tickSpacing,
|
|
80901
|
-
recipient,
|
|
80902
|
-
deadline,
|
|
80903
|
-
amountIn,
|
|
80904
|
-
amountOutMinimum,
|
|
80905
|
-
sqrtPriceLimitX96
|
|
80906
|
-
}) => {
|
|
80907
|
-
return swapRouterInterface2.encodeFunctionData("exactInputSingle", [
|
|
80908
|
-
[tokenIn, tokenOut, tickSpacing, recipient, deadline, amountIn, amountOutMinimum, sqrtPriceLimitX96]
|
|
80909
|
-
]);
|
|
80910
|
-
};
|
|
80911
|
-
var RouterSwapExactOutputSingleCalldata = ({
|
|
80912
|
-
tokenIn,
|
|
80913
|
-
tokenOut,
|
|
80914
|
-
tickSpacing,
|
|
80915
|
-
recipient,
|
|
80916
|
-
deadline,
|
|
80917
|
-
amountOut,
|
|
80918
|
-
amountInMaximum,
|
|
80919
|
-
sqrtPriceLimitX96
|
|
80920
|
-
}) => {
|
|
80921
|
-
return swapRouterInterface2.encodeFunctionData("exactOutputSingle", [
|
|
80922
|
-
[tokenIn, tokenOut, tickSpacing, recipient, deadline, amountOut, amountInMaximum, sqrtPriceLimitX96]
|
|
80923
|
-
]);
|
|
80924
|
-
};
|
|
80925
|
-
var slipstreamSwapExactInputSingleTrx = ({
|
|
80926
|
-
swapParams,
|
|
80927
|
-
swapRouter
|
|
80928
|
-
}) => {
|
|
80929
|
-
return createCall({
|
|
80930
|
-
to: swapRouter,
|
|
80931
|
-
data: RouterSwapExactInputSingleCalldata(swapParams),
|
|
80932
|
-
value: 0n,
|
|
80933
|
-
operation: 0
|
|
80934
|
-
});
|
|
80935
|
-
};
|
|
80936
|
-
var slipstreamSwapExactOutputSingleTrx = ({
|
|
80937
|
-
swapParams,
|
|
80938
|
-
swapRouter
|
|
80939
|
-
}) => {
|
|
80940
|
-
return createCall({
|
|
80941
|
-
to: swapRouter,
|
|
80942
|
-
data: RouterSwapExactOutputSingleCalldata(swapParams),
|
|
80943
|
-
value: 0n,
|
|
80944
|
-
operation: 0
|
|
80945
|
-
});
|
|
80946
|
-
};
|
|
80947
|
-
var SlipstreamMintPositionCalldata = ({
|
|
80948
|
-
token0,
|
|
80949
|
-
token1,
|
|
80950
|
-
tickSpacing,
|
|
80951
|
-
tickLower,
|
|
80952
|
-
tickUpper,
|
|
80953
|
-
amount0Desired,
|
|
80954
|
-
amount1Desired,
|
|
80955
|
-
amount0Min,
|
|
80956
|
-
amount1Min,
|
|
80957
|
-
recipient,
|
|
80958
|
-
deadline,
|
|
80959
|
-
sqrtPriceX96
|
|
80960
|
-
}) => {
|
|
80961
|
-
return positionManagerInterface2.encodeFunctionData("mint", [
|
|
80962
|
-
[
|
|
80963
|
-
token0,
|
|
80964
|
-
token1,
|
|
80965
|
-
tickSpacing,
|
|
80966
|
-
tickLower,
|
|
80967
|
-
tickUpper,
|
|
80968
|
-
amount0Desired,
|
|
80969
|
-
amount1Desired,
|
|
80970
|
-
amount0Min,
|
|
80971
|
-
amount1Min,
|
|
80972
|
-
recipient,
|
|
80973
|
-
deadline,
|
|
80974
|
-
sqrtPriceX96
|
|
80975
|
-
]
|
|
80976
|
-
]);
|
|
80977
|
-
};
|
|
80978
|
-
var slipstreamMintPositionTrx = ({
|
|
80979
|
-
mintParams,
|
|
80980
|
-
positionManager
|
|
80981
|
-
}) => {
|
|
80982
|
-
return createCall({
|
|
80983
|
-
to: positionManager,
|
|
80984
|
-
data: SlipstreamMintPositionCalldata(mintParams),
|
|
80985
|
-
value: 0n,
|
|
80986
|
-
operation: 0
|
|
80987
|
-
});
|
|
80988
|
-
};
|
|
80989
|
-
var SlipstreamIncreaseLiquidityCalldata = ({
|
|
80990
|
-
tokenId,
|
|
80991
|
-
amount0Desired,
|
|
80992
|
-
amount1Desired,
|
|
80993
|
-
amount0Min,
|
|
80994
|
-
amount1Min,
|
|
80995
|
-
deadline
|
|
80996
|
-
}) => {
|
|
80997
|
-
return positionManagerInterface2.encodeFunctionData("increaseLiquidity", [
|
|
80998
|
-
[tokenId, amount0Desired, amount1Desired, amount0Min, amount1Min, deadline]
|
|
80999
|
-
]);
|
|
81000
|
-
};
|
|
81001
|
-
var slipstreamIncreaseLiquidityTrx = ({
|
|
81002
|
-
increaseParams,
|
|
81003
|
-
positionManager
|
|
81004
|
-
}) => {
|
|
81005
|
-
return createCall({
|
|
81006
|
-
to: positionManager,
|
|
81007
|
-
data: SlipstreamIncreaseLiquidityCalldata(increaseParams),
|
|
81008
|
-
value: 0n,
|
|
81009
|
-
operation: 0
|
|
81010
|
-
});
|
|
81011
|
-
};
|
|
81012
|
-
var SlipstreamDecreaseLiquidityCalldata = ({
|
|
81013
|
-
tokenId,
|
|
81014
|
-
liquidity,
|
|
81015
|
-
amount0Min,
|
|
81016
|
-
amount1Min,
|
|
81017
|
-
deadline
|
|
81018
|
-
}) => {
|
|
81019
|
-
return positionManagerInterface2.encodeFunctionData("decreaseLiquidity", [
|
|
81020
|
-
[tokenId, liquidity, amount0Min, amount1Min, deadline]
|
|
81021
|
-
]);
|
|
81022
|
-
};
|
|
81023
|
-
var slipstreamDecreaseLiquidityTrx = ({
|
|
81024
|
-
decreaseParams,
|
|
81025
|
-
positionManager
|
|
81026
|
-
}) => {
|
|
81027
|
-
return createCall({
|
|
81028
|
-
to: positionManager,
|
|
81029
|
-
data: SlipstreamDecreaseLiquidityCalldata(decreaseParams),
|
|
81030
|
-
value: 0n,
|
|
81031
|
-
operation: 0
|
|
81032
|
-
});
|
|
81033
|
-
};
|
|
81034
|
-
var SlipstreamBurnPositionCalldata = ({ tokenId }) => {
|
|
81035
|
-
return positionManagerInterface2.encodeFunctionData("burn", [[tokenId]]);
|
|
81036
|
-
};
|
|
81037
|
-
var slipstreamBurnPositionTrx = ({
|
|
81038
|
-
burnParams,
|
|
81039
|
-
positionManager
|
|
81040
|
-
}) => {
|
|
81041
|
-
return createCall({
|
|
81042
|
-
to: positionManager,
|
|
81043
|
-
data: SlipstreamBurnPositionCalldata(burnParams),
|
|
81044
|
-
value: 0n,
|
|
81045
|
-
operation: 0
|
|
81046
|
-
});
|
|
81047
|
-
};
|
|
81048
|
-
var SlipstreamCollectFeesCalldata = ({
|
|
81049
|
-
tokenId,
|
|
81050
|
-
recipient,
|
|
81051
|
-
amount0Max,
|
|
81052
|
-
amount1Max
|
|
81053
|
-
}) => {
|
|
81054
|
-
return positionManagerInterface2.encodeFunctionData("collect", [
|
|
81055
|
-
[tokenId, recipient, amount0Max, amount1Max]
|
|
81056
|
-
]);
|
|
81057
|
-
};
|
|
81058
|
-
var slipstreamCollectFeesTrx = ({
|
|
81059
|
-
collectParams,
|
|
81060
|
-
positionManager
|
|
81061
|
-
}) => {
|
|
81062
|
-
return createCall({
|
|
81063
|
-
to: positionManager,
|
|
81064
|
-
data: SlipstreamCollectFeesCalldata(collectParams),
|
|
81065
|
-
value: 0n,
|
|
81066
|
-
operation: 0
|
|
81067
|
-
});
|
|
81068
|
-
};
|
|
81069
|
-
var SlipstreamGaugeDepositCalldata = ({ tokenId }) => {
|
|
81070
|
-
return gaugeInterface.encodeFunctionData("deposit", [tokenId]);
|
|
81071
|
-
};
|
|
81072
|
-
var slipstreamGaugeDepositTrx = ({
|
|
81073
|
-
tokenId,
|
|
81074
|
-
gauge
|
|
81075
|
-
}) => {
|
|
81076
|
-
return createCall({
|
|
81077
|
-
to: gauge,
|
|
81078
|
-
data: SlipstreamGaugeDepositCalldata({ tokenId }),
|
|
81079
|
-
value: 0n,
|
|
81080
|
-
operation: 0
|
|
81081
|
-
});
|
|
81082
|
-
};
|
|
81083
|
-
var SlipstreamGaugeWithdrawCalldata = ({ tokenId }) => {
|
|
81084
|
-
return gaugeInterface.encodeFunctionData("withdraw", [tokenId]);
|
|
81085
|
-
};
|
|
81086
|
-
var slipstreamGaugeWithdrawTrx = ({
|
|
81087
|
-
tokenId,
|
|
81088
|
-
gauge
|
|
81089
|
-
}) => {
|
|
81090
|
-
return createCall({
|
|
81091
|
-
to: gauge,
|
|
81092
|
-
data: SlipstreamGaugeWithdrawCalldata({ tokenId }),
|
|
81093
|
-
value: 0n,
|
|
81094
|
-
operation: 0
|
|
81095
|
-
});
|
|
81096
|
-
};
|
|
81097
|
-
var SlipstreamGaugeGetRewardCalldata = ({ tokenId }) => {
|
|
81098
|
-
return gaugeInterface.encodeFunctionData("getReward", [tokenId]);
|
|
81099
|
-
};
|
|
81100
|
-
var slipstreamGaugeGetRewardTrx = ({
|
|
81101
|
-
tokenId,
|
|
81102
|
-
gauge
|
|
81103
|
-
}) => {
|
|
81104
|
-
return createCall({
|
|
81105
|
-
to: gauge,
|
|
81106
|
-
data: SlipstreamGaugeGetRewardCalldata({ tokenId }),
|
|
81107
|
-
value: 0n,
|
|
81108
|
-
operation: 0
|
|
81109
|
-
});
|
|
81110
|
-
};
|
|
81111
80911
|
// src/integrations/slipstream/gauge.abi.ts
|
|
81112
80912
|
var gauge_abi_default = [
|
|
81113
80913
|
{
|
|
@@ -81521,6 +81321,225 @@ var gauge_abi_default = [
|
|
|
81521
81321
|
stateMutability: "nonpayable"
|
|
81522
81322
|
}
|
|
81523
81323
|
];
|
|
81324
|
+
|
|
81325
|
+
// src/integrations/slipstream/slipstream.ts
|
|
81326
|
+
var swapRouterInterface2 = new exports_ethers.utils.Interface(swap_router_abi_default2);
|
|
81327
|
+
var positionManagerInterface2 = new exports_ethers.utils.Interface(position_manager_abi_default3);
|
|
81328
|
+
var gaugeInterface = new exports_ethers.utils.Interface(gauge_abi_default);
|
|
81329
|
+
var RouterSwapExactInputSingleCalldata = ({
|
|
81330
|
+
tokenIn,
|
|
81331
|
+
tokenOut,
|
|
81332
|
+
tickSpacing,
|
|
81333
|
+
recipient,
|
|
81334
|
+
deadline,
|
|
81335
|
+
amountIn,
|
|
81336
|
+
amountOutMinimum,
|
|
81337
|
+
sqrtPriceLimitX96
|
|
81338
|
+
}) => {
|
|
81339
|
+
return swapRouterInterface2.encodeFunctionData("exactInputSingle", [
|
|
81340
|
+
[tokenIn, tokenOut, tickSpacing, recipient, deadline, amountIn, amountOutMinimum, sqrtPriceLimitX96]
|
|
81341
|
+
]);
|
|
81342
|
+
};
|
|
81343
|
+
var RouterSwapExactOutputSingleCalldata = ({
|
|
81344
|
+
tokenIn,
|
|
81345
|
+
tokenOut,
|
|
81346
|
+
tickSpacing,
|
|
81347
|
+
recipient,
|
|
81348
|
+
deadline,
|
|
81349
|
+
amountOut,
|
|
81350
|
+
amountInMaximum,
|
|
81351
|
+
sqrtPriceLimitX96
|
|
81352
|
+
}) => {
|
|
81353
|
+
return swapRouterInterface2.encodeFunctionData("exactOutputSingle", [
|
|
81354
|
+
[tokenIn, tokenOut, tickSpacing, recipient, deadline, amountOut, amountInMaximum, sqrtPriceLimitX96]
|
|
81355
|
+
]);
|
|
81356
|
+
};
|
|
81357
|
+
var slipstreamSwapExactInputSingleTrx = ({
|
|
81358
|
+
swapParams,
|
|
81359
|
+
swapRouter
|
|
81360
|
+
}) => {
|
|
81361
|
+
return createCall({
|
|
81362
|
+
to: swapRouter,
|
|
81363
|
+
data: RouterSwapExactInputSingleCalldata(swapParams),
|
|
81364
|
+
value: 0n,
|
|
81365
|
+
operation: 0
|
|
81366
|
+
});
|
|
81367
|
+
};
|
|
81368
|
+
var slipstreamSwapExactOutputSingleTrx = ({
|
|
81369
|
+
swapParams,
|
|
81370
|
+
swapRouter
|
|
81371
|
+
}) => {
|
|
81372
|
+
return createCall({
|
|
81373
|
+
to: swapRouter,
|
|
81374
|
+
data: RouterSwapExactOutputSingleCalldata(swapParams),
|
|
81375
|
+
value: 0n,
|
|
81376
|
+
operation: 0
|
|
81377
|
+
});
|
|
81378
|
+
};
|
|
81379
|
+
var SlipstreamMintPositionCalldata = ({
|
|
81380
|
+
token0,
|
|
81381
|
+
token1,
|
|
81382
|
+
tickSpacing,
|
|
81383
|
+
tickLower,
|
|
81384
|
+
tickUpper,
|
|
81385
|
+
amount0Desired,
|
|
81386
|
+
amount1Desired,
|
|
81387
|
+
amount0Min,
|
|
81388
|
+
amount1Min,
|
|
81389
|
+
recipient,
|
|
81390
|
+
deadline,
|
|
81391
|
+
sqrtPriceX96
|
|
81392
|
+
}) => {
|
|
81393
|
+
return positionManagerInterface2.encodeFunctionData("mint", [
|
|
81394
|
+
[
|
|
81395
|
+
token0,
|
|
81396
|
+
token1,
|
|
81397
|
+
tickSpacing,
|
|
81398
|
+
tickLower,
|
|
81399
|
+
tickUpper,
|
|
81400
|
+
amount0Desired,
|
|
81401
|
+
amount1Desired,
|
|
81402
|
+
amount0Min,
|
|
81403
|
+
amount1Min,
|
|
81404
|
+
recipient,
|
|
81405
|
+
deadline,
|
|
81406
|
+
sqrtPriceX96
|
|
81407
|
+
]
|
|
81408
|
+
]);
|
|
81409
|
+
};
|
|
81410
|
+
var slipstreamMintPositionTrx = ({
|
|
81411
|
+
mintParams,
|
|
81412
|
+
positionManager
|
|
81413
|
+
}) => {
|
|
81414
|
+
return createCall({
|
|
81415
|
+
to: positionManager,
|
|
81416
|
+
data: SlipstreamMintPositionCalldata(mintParams),
|
|
81417
|
+
value: 0n,
|
|
81418
|
+
operation: 0
|
|
81419
|
+
});
|
|
81420
|
+
};
|
|
81421
|
+
var SlipstreamIncreaseLiquidityCalldata = ({
|
|
81422
|
+
tokenId,
|
|
81423
|
+
amount0Desired,
|
|
81424
|
+
amount1Desired,
|
|
81425
|
+
amount0Min,
|
|
81426
|
+
amount1Min,
|
|
81427
|
+
deadline
|
|
81428
|
+
}) => {
|
|
81429
|
+
return positionManagerInterface2.encodeFunctionData("increaseLiquidity", [
|
|
81430
|
+
[tokenId, amount0Desired, amount1Desired, amount0Min, amount1Min, deadline]
|
|
81431
|
+
]);
|
|
81432
|
+
};
|
|
81433
|
+
var slipstreamIncreaseLiquidityTrx = ({
|
|
81434
|
+
increaseParams,
|
|
81435
|
+
positionManager
|
|
81436
|
+
}) => {
|
|
81437
|
+
return createCall({
|
|
81438
|
+
to: positionManager,
|
|
81439
|
+
data: SlipstreamIncreaseLiquidityCalldata(increaseParams),
|
|
81440
|
+
value: 0n,
|
|
81441
|
+
operation: 0
|
|
81442
|
+
});
|
|
81443
|
+
};
|
|
81444
|
+
var SlipstreamDecreaseLiquidityCalldata = ({
|
|
81445
|
+
tokenId,
|
|
81446
|
+
liquidity,
|
|
81447
|
+
amount0Min,
|
|
81448
|
+
amount1Min,
|
|
81449
|
+
deadline
|
|
81450
|
+
}) => {
|
|
81451
|
+
return positionManagerInterface2.encodeFunctionData("decreaseLiquidity", [
|
|
81452
|
+
[tokenId, liquidity, amount0Min, amount1Min, deadline]
|
|
81453
|
+
]);
|
|
81454
|
+
};
|
|
81455
|
+
var slipstreamDecreaseLiquidityTrx = ({
|
|
81456
|
+
decreaseParams,
|
|
81457
|
+
positionManager
|
|
81458
|
+
}) => {
|
|
81459
|
+
return createCall({
|
|
81460
|
+
to: positionManager,
|
|
81461
|
+
data: SlipstreamDecreaseLiquidityCalldata(decreaseParams),
|
|
81462
|
+
value: 0n,
|
|
81463
|
+
operation: 0
|
|
81464
|
+
});
|
|
81465
|
+
};
|
|
81466
|
+
var SlipstreamBurnPositionCalldata = ({ tokenId }) => {
|
|
81467
|
+
return positionManagerInterface2.encodeFunctionData("burn", [[tokenId]]);
|
|
81468
|
+
};
|
|
81469
|
+
var slipstreamBurnPositionTrx = ({
|
|
81470
|
+
burnParams,
|
|
81471
|
+
positionManager
|
|
81472
|
+
}) => {
|
|
81473
|
+
return createCall({
|
|
81474
|
+
to: positionManager,
|
|
81475
|
+
data: SlipstreamBurnPositionCalldata(burnParams),
|
|
81476
|
+
value: 0n,
|
|
81477
|
+
operation: 0
|
|
81478
|
+
});
|
|
81479
|
+
};
|
|
81480
|
+
var SlipstreamCollectFeesCalldata = ({
|
|
81481
|
+
tokenId,
|
|
81482
|
+
recipient,
|
|
81483
|
+
amount0Max,
|
|
81484
|
+
amount1Max
|
|
81485
|
+
}) => {
|
|
81486
|
+
return positionManagerInterface2.encodeFunctionData("collect", [
|
|
81487
|
+
[tokenId, recipient, amount0Max, amount1Max]
|
|
81488
|
+
]);
|
|
81489
|
+
};
|
|
81490
|
+
var slipstreamCollectFeesTrx = ({
|
|
81491
|
+
collectParams,
|
|
81492
|
+
positionManager
|
|
81493
|
+
}) => {
|
|
81494
|
+
return createCall({
|
|
81495
|
+
to: positionManager,
|
|
81496
|
+
data: SlipstreamCollectFeesCalldata(collectParams),
|
|
81497
|
+
value: 0n,
|
|
81498
|
+
operation: 0
|
|
81499
|
+
});
|
|
81500
|
+
};
|
|
81501
|
+
var SlipstreamGaugeDepositCalldata = ({ tokenId }) => {
|
|
81502
|
+
return gaugeInterface.encodeFunctionData("deposit", [tokenId]);
|
|
81503
|
+
};
|
|
81504
|
+
var slipstreamGaugeDepositTrx = ({
|
|
81505
|
+
tokenId,
|
|
81506
|
+
gauge
|
|
81507
|
+
}) => {
|
|
81508
|
+
return createCall({
|
|
81509
|
+
to: gauge,
|
|
81510
|
+
data: SlipstreamGaugeDepositCalldata({ tokenId }),
|
|
81511
|
+
value: 0n,
|
|
81512
|
+
operation: 0
|
|
81513
|
+
});
|
|
81514
|
+
};
|
|
81515
|
+
var SlipstreamGaugeWithdrawCalldata = ({ tokenId }) => {
|
|
81516
|
+
return gaugeInterface.encodeFunctionData("withdraw", [tokenId]);
|
|
81517
|
+
};
|
|
81518
|
+
var slipstreamGaugeWithdrawTrx = ({
|
|
81519
|
+
tokenId,
|
|
81520
|
+
gauge
|
|
81521
|
+
}) => {
|
|
81522
|
+
return createCall({
|
|
81523
|
+
to: gauge,
|
|
81524
|
+
data: SlipstreamGaugeWithdrawCalldata({ tokenId }),
|
|
81525
|
+
value: 0n,
|
|
81526
|
+
operation: 0
|
|
81527
|
+
});
|
|
81528
|
+
};
|
|
81529
|
+
var SlipstreamGaugeGetRewardCalldata = ({ tokenId }) => {
|
|
81530
|
+
return gaugeInterface.encodeFunctionData("getReward", [tokenId]);
|
|
81531
|
+
};
|
|
81532
|
+
var slipstreamGaugeGetRewardTrx = ({
|
|
81533
|
+
tokenId,
|
|
81534
|
+
gauge
|
|
81535
|
+
}) => {
|
|
81536
|
+
return createCall({
|
|
81537
|
+
to: gauge,
|
|
81538
|
+
data: SlipstreamGaugeGetRewardCalldata({ tokenId }),
|
|
81539
|
+
value: 0n,
|
|
81540
|
+
operation: 0
|
|
81541
|
+
});
|
|
81542
|
+
};
|
|
81524
81543
|
// src/integrations/morphoVault/morpho.vault.abi.ts
|
|
81525
81544
|
var morpho_vault_abi_default = [
|
|
81526
81545
|
{
|
|
@@ -86333,4 +86352,4 @@ var simulateOrThrow = async (env2) => {
|
|
|
86333
86352
|
};
|
|
86334
86353
|
};
|
|
86335
86354
|
|
|
86336
|
-
//# debugId=
|
|
86355
|
+
//# debugId=B294786BDB7A953C64756E2164756E21
|